0 votes

I have a scene which I am instancing (a loading screen). Below I have a segment:

loading_scene.get_node("AnimationPlayer").play("UI_Intro")
yield(loading_scene.get_node("AnimationPlayer"), "animation_finished")
loading_scene.get_node("AnimationPlayer").play("UI_Play")

"UIIntro" plays when the loading scene is just opening, and "UIPlay" is (should) be a looping animation that plays once the animation has finished. The problem is, the intro animation plays, but the looping animation that's supposed to follow it doesn't. I know that it's not hanging at "yield" because some subsequent code in the same script is executed. It seems like a straightforward thing, what am I missing?

asked Jun 15 in Engine by psear (103 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.