10 lines
176 B
GDScript
10 lines
176 B
GDScript
extends AnimatedSprite
|
|
|
|
func _ready():
|
|
connect("animation_finished", self, "_on_animation_finished")
|
|
frame = 0
|
|
play("Animate")
|
|
|
|
func _on_animation_finished():
|
|
queue_free()
|