mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-10 05:37:12 +08:00
refactor: 替换PresetAIs为PresetBulletAI,优化子弹AI逻辑
This commit is contained in:
@@ -9,7 +9,7 @@ var rotateSpeed: float = 1
|
||||
func ai():
|
||||
texture.rotation_degrees += rotateSpeed
|
||||
rotateSpeed += 0.25
|
||||
PresetAIs.forward(self, rotation)
|
||||
PresetBulletAI.forward(self, rotation)
|
||||
if timeLived() <= forwardTime:
|
||||
speed = 10 * ((forwardTime - timeLived()) / forwardTime)
|
||||
elif forwarded:
|
||||
|
||||
Reference in New Issue
Block a user