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