How to make menus? #207
Answered
by
r6915ee
The-Enazer
asked this question in
Q&A
-
hello it's me again the guy of the data select. i come again for another question. How to make a menu? (I tried to make it but dont work) Plz help (sorry for the bad english) |
Beta Was this translation helpful? Give feedback.
Answered by
r6915ee
Oct 18, 2024
Replies: 1 comment 8 replies
-
Most of it should conduct of the same techniques you would use to make a regular menu in Godot. As for some of the specific things that Worlds Next provides, you can make the menus change to other menus and the game as you normally would. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If what I'm getting at here is right, the script is actually trying to load a simple resource instead of a scene, so technically your code should be working - just not in the way you intended. Resources and nodes (which scenes are a type of the latter) are fundamentally different in how they work: a resource is essentially a basic object that can have properties, while nodes are objects that can have "children" to form a basic hierarchy system, commonly using resources to specify certain properties or have their own properties.
There's a particular class in Godot,
SceneTree
, that handles the hierarchy of nodes. It usually is referenced by using theget_tree()
method from any node. It a…