11 lines
149 B
GDScript
11 lines
149 B
GDScript
extends Node2D
|
|
|
|
|
|
func play_walk():
|
|
%AnimationPlayer.play("walk")
|
|
|
|
|
|
func play_hurt():
|
|
%AnimationPlayer.play("hurt")
|
|
%AnimationPlayer.queue("walk")
|