0 votes

I have a loading scene with an animation which I want to play when the loading page appears, and then transition to the next scene. I found it is possible to transition to the next scene using the change scene timer, when it is on Auto play, but I cannot play my animated sprite, because it will get stuck and not transition. I also have a Animation play timer, which I also play on auto play.

my code is:

extends ColorRect

onready var godotSprite = $ComputerLoad
onready var tween = $Tween
onready var godotTXT = $Control/WordPig

func ready():
property(godotTXT, 'modulate', Color(1,1,1,0), Color(1,1,1,1), 1, Tween.TRANSBOUNCE, Tween.EASEIN_OUT)

func onAnimationPlayTimer_timeout():

func onComputerLoadanimationfinished():

func onChangeSceneTimertimeout():

Godot version Version 3.4
in Engine by (72 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.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.