|
|
@ -46,5 +46,6 @@ func play_animation (anim_name): |
|
|
|
func manage_animations (): |
|
|
|
func manage_animations (): |
|
|
|
if Input.is_action_pressed("move_left"): |
|
|
|
if Input.is_action_pressed("move_left"): |
|
|
|
play_animation("Accelerate") |
|
|
|
play_animation("Accelerate") |
|
|
|
|
|
|
|
|
|
|
|
else: |
|
|
|
else: |
|
|
|
play_animation("default") |
|
|
|
play_animation("default") |
|
|
|