mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-09 05:07:12 +08:00
feat(子弹效果): 为蓝水晶子弹添加爆炸效果并调整相关配置
- 在BlueCrystal.gd中添加destroy方法创建爆炸效果 - 新增BlueCrystalExplosion.tscn爆炸效果场景 - 调整PurpleCrystalExplosion.tscn粒子数量 - 修复ItemDropped.gd中玩家实例有效性检查 - 将Rooster.tscn的武器更换为水晶系武器
This commit is contained in:
@@ -14,3 +14,7 @@ func ai():
|
||||
trail.rotation = 0
|
||||
speed += 0.1
|
||||
PresetBulletAI.forward(self, rotation)
|
||||
func destroy(_beacuseMap: bool):
|
||||
var eff = EffectController.create(ComponentManager.getEffect("BlueCrystalExplosion"), global_position)
|
||||
eff.rotation = rotation
|
||||
eff.shot()
|
||||
|
||||
Reference in New Issue
Block a user