Learning about nodes and scenes
Nodes are the basic building blocks for creating games in Godot. A node is an object that can give you a variety of specialized game functions. A given type of node might display an image, play an animation, or represent a 3D model. The node contains a collection of properties, allowing you to customize its behavior. Which nodes you add to your project depends on what functionality you need. It’s a modular system designed to give you flexibility in building your game objects.
The nodes you add are organized into a tree structure. In a tree, nodes are added as children of other nodes. A particular node can have any number of children, but only one parent node. When a group of nodes is collected into a tree, it is called a scene:
Figure 1.10: Nodes arranged in a tree
Scenes in Godot are typically used to create and organize the various game objects in your project. You might have a player scene that contains all...