crabs-game/scripts/menu/title_background.gd

12 lines
182 B
GDScript

extends AnimatedSprite
func _ready():
yield(get_tree().create_timer(0.1), 'timeout')
play('start')
frame = 0
func _on_background_animation_finished():
play('idle')
frame = 0