1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-29 23:41:54 +08:00

feat(音效/特效): 添加角色死亡音效和血液特效

添加多个音效文件并实现角色死亡时的血液粒子效果
调整冲刺逻辑和数值,修复激光子弹的显示位置
为不同攻击类型添加对应音效,增强游戏表现力
This commit is contained in:
2025-08-29 14:29:07 +08:00
parent 72b83b909a
commit bd8a7d5d2c
14 changed files with 221 additions and 11 deletions
+1 -3
View File
@@ -40,10 +40,8 @@ func attack(type):
firepot.shot()
BulletBase.generate(preload("res://components/Bullets/FireScan.tscn"), self, weaponPos, target)
elif type == 3:
trailing = true
BulletBase.generate(preload("res://components/Bullets/ChickSprint.tscn"), self, position, 0)
await trySprint()
trailing = false
trySprint()
return true
func sprint():
move((currentFocusedBoss.position - position).normalized() * sprintMultiplier, true)