+1 vote

Hi everyone! I have a problem with Godot that I don’t know how to solve: I have a main node whose child nodes are three different scenes. When I start the game, the three scenes take place simultaneously, overlapping each other.
What I want, however, is that the three scenes happen separately, and in chronological order (specifically, an animated intro, a main menu, and the first level of the game).

How can I do it? Thank you!

in Engine by (96 points)

1 Answer

+2 votes
Best answer

If i understood you correctly, you need to use different scenes for each (one for intro, one for menu, and one ofr level one). Do not instance all three scenes into a main scene. Just the one you want to be loaded at start. Then, you can change scenes when animation ends, or a button is pressed, with something like this:


For example, in your main scene, you only instance the intro scene. When intro finish, change scene to menu. And when player press start (for example) in the menu, change to level 1. Do i explain myself?

by (3,483 points)
selected by

It works! Thank you so much! ;-)
Another question: when I’ll export the project, will the scene order remain the same? Will not I have to insert them all in one main scene?

The exported project should work the same as the project inside godot.

Thanks again! ;-)

You are welcome!

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 Frequently asked questions and 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 [email protected] with your username.