1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-04 10:47:13 +08:00

fix: 修改测试模式和子弹碰撞逻辑

在测试模式下使用正式关卡数据而非玩笑数据
添加子弹碰撞时发射器后坐力效果
This commit is contained in:
2026-03-22 22:56:15 +08:00
parent ac5f10bb53
commit 54d3783306
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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)