mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-31 08:21:54 +08:00
feat(子弹系统): 添加扫帚系列子弹及相关资源
添加扫帚子弹、扫帚炮和扫帚回旋镖三种新子弹类型 包含子弹脚本、音效、动画和特效资源 修改EnergyBlock实体以支持新子弹的攻击逻辑 更新子弹基类添加销毁信号
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
extends BulletBase
|
||||
class_name BroomBullet
|
||||
|
||||
func ai():
|
||||
PresetBulletAI.lockLauncher(self , launcher, true)
|
||||
@@ -0,0 +1 @@
|
||||
uid://b7bstudbunlxr
|
||||
@@ -0,0 +1,8 @@
|
||||
extends BulletBase
|
||||
class_name BroomBoomerangBullet
|
||||
|
||||
func ai():
|
||||
PresetBulletAI.forward(self , rotation)
|
||||
speed -= 0.5
|
||||
if speed < 0 && position.distance_to(launcher.position) < 100:
|
||||
tryDestroy()
|
||||
@@ -0,0 +1 @@
|
||||
uid://k63hoju1eyd
|
||||
@@ -0,0 +1,7 @@
|
||||
extends BulletBase
|
||||
class_name BroomGun
|
||||
|
||||
func shake():
|
||||
CameraManager.shake(2000, 200)
|
||||
func ai():
|
||||
PresetBulletAI.trace(self , launcher.currentFocusedPosition, 0.05)
|
||||
@@ -0,0 +1 @@
|
||||
uid://cuu5b0gibd054
|
||||
Reference in New Issue
Block a user