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