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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user