DuckRun/scenes/ui/animation.gd
megamichi dd5b4bcae5 - improving textures
- adding coins (no shop jet)
- adding skin changing [no gui jet
- fixing loops for deleting stuff]
2024-11-10 19:51:00 +01:00

12 lines
234 B
GDScript

extends AnimationPlayer
func pop_in():
play_backwards("out-in")
$"../../../Audio/Gui-in".play()
get_parent().show()
func pop_out():
play("out-in")
$"../../../Audio/Gui-out".play()
await animation_finished
get_parent().hide()