the-crypt/ai/Script/SpinningBone.gd

11 lines
255 B
GDScript3
Raw Normal View History

2020-07-20 14:24:15 -05:00
extends EnemyProjectile
2020-07-18 17:07:40 -05:00
func launch_right():
2020-07-20 14:24:15 -05:00
launch_vector(Vector2.RIGHT)
2020-07-18 17:07:40 -05:00
func launch_left():
2020-07-20 14:24:15 -05:00
launch_vector(Vector2.LEFT)
2020-07-18 17:07:40 -05:00
func launch_upleft():
2020-07-20 14:30:58 -05:00
launch_vector(Vector2.LEFT + Vector2.UP)
2020-07-18 17:07:40 -05:00
func launch_upright():
2020-07-20 14:30:58 -05:00
launch_vector(Vector2.RIGHT + Vector2.UP)