0 votes

I've been reading through the API and seen something talking about this, but I wasn't sure if it meant literally or "in this example of the API".

Should you have a "Main" Node to store everything under? is that per scene of the game?
What are best practices for putting your game scenes together?

Example of what I mean:
SceneRoot
Edit: if image isn't working... here: https://ibb.co/hsyqKQB

I've just been loading my game, and using whatever "Map scene" I'm in. So title screen changes to "village scene".. when you go into a house it closes village scene and loads House scene. So my active scene is the only scene under root (other than autoloads ofcourse. So again is it good practice to always have a Main node as the scene root and load my active scenes as children to it rather than root. My guess is, it depends on the game. Whats the benefits of doing this.. if any?

in Engine by (116 points)

Yes im also using same practice , its more logical as player is inside village or house

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.

Categories