dd5b4bcae5
- adding coins (no shop jet) - adding skin changing [no gui jet - fixing loops for deleting stuff]
12 lines
234 B
GDScript
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()
|