From 54d378330630a71721f3cb4109b1ce08b8dbf6cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=A8=E8=90=BD=E5=9F=BA=E5=9B=B4=E8=99=BE?= <3161880837@qq.com> Date: Sun, 22 Mar 2026 22:56:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E5=92=8C=E5=AD=90=E5=BC=B9=E7=A2=B0=E6=92=9E?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在测试模式下使用正式关卡数据而非玩笑数据 添加子弹碰撞时发射器后坐力效果 --- scripts/Contents/Bullets/Parrier.gd | 1 + scripts/Contents/Wave.gd | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/Contents/Bullets/Parrier.gd b/scripts/Contents/Bullets/Parrier.gd index 1cf132d..dc7f90d 100644 --- a/scripts/Contents/Bullets/Parrier.gd +++ b/scripts/Contents/Bullets/Parrier.gd @@ -29,6 +29,7 @@ func hitBullet(bullet: BulletBase): # 当前子弹与其他子弹相撞 eff.rotation = position.angle_to_point(bullet.position) eff.shot() CameraManager.shake(200, 250) + launcher.position -= (bullet.position - position).normalized() * 50 # 摧毁其他子弹 bullet.tryDestroy() var cycler = launcher.getOrCreateCycleTimer("parry", 2000, 100) diff --git a/scripts/Contents/Wave.gd b/scripts/Contents/Wave.gd index 049645e..9b79214 100644 --- a/scripts/Contents/Wave.gd +++ b/scripts/Contents/Wave.gd @@ -50,7 +50,7 @@ static var WAVE_JUSTJOKE = [ Wave.create("Kernyr", 0, 0, true, 0, INF, 1), ] static var WAVE_EMPTY = [] -static var data = WAVE_NORMAL if WorldManager.isRelease() else WAVE_JUSTJOKE +static var data = WAVE_NORMAL if WorldManager.isRelease() else WAVE_NORMAL static func create( entity_: String,