Hi all,
I followed the pause tutorial and sample app and managed to create a popup pause menu easily. However I am unable to play an animation upon "unpausing" my game, using the following code :
func _on_btnunpause_pressed():
$"Popup/lbl-anim".show()
$Popup/AnimationPlayer.play("anim_unpause")
$"Popup".hide()
get_tree().set_pause(false)
pass # replace with function body
The result is having the game immediately un-paused (as if animation code is non-existent).
Thx