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