1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00

feat(Arrow): 添加箭头子弹的动画效果

为箭头子弹添加生成、循环和销毁动画,并移除初始位置偏移逻辑
This commit is contained in:
2025-11-19 22:12:38 +08:00
parent 1347d79423
commit 6ea494be33
2 changed files with 87 additions and 2 deletions
-1
View File
@@ -13,7 +13,6 @@ func ai():
if timeLived() < waitTime:
PresetBulletAI.lockLauncher(self, launcher, true)
rotation = position.angle_to_point(get_global_mouse_position())
position += Vector2.from_angle(rotation) * 200
return
else:
trail.emitting = true