1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-04 02:37:12 +08:00

feat(子弹效果): 添加HXD子弹爆炸效果及资源

添加HXDBoom效果控制器和5种爆炸纹理
调整HXD子弹的缩放比例并添加爆炸效果触发
扩展EffectController基类以支持自定义注册逻辑
This commit is contained in:
2026-02-02 10:05:27 +08:00
parent dd479b0d7b
commit 1022dd5024
16 changed files with 248 additions and 1 deletions
+1
View File
@@ -14,6 +14,7 @@ func succeedToHit(_dmg: float, entity: EntityBase):
if is_instance_valid(newEntity):
look_at(newEntity.position)
bouncedTime += 1
EffectController.create(ComponentManager.getEffect("HXDBoom"), position).shot()
func split(newBullet: BulletBase, _index: int, _total: int, _lastBullet: float):
if newBullet is HXDBullet:
newBullet.bouncedTime = 0