Scene Builder
Compose a Godot 4.7 scene, wire a signal, attach a script, then press Run and watch
the engine order of events: _ready() bottom-up, an emission, the method it reaches.
The .tscn and GDScript update as you work.
- Scene
- Player.tscn
- Mission
- 3/5
- Notes
- 0
- Last run
- not yet
Give the Player a body, a shape, and a script, then run it.
3/5- Root is a CharacterBody2D
- The body has a CollisionShape2D child
- Top-down Movement script is attached
- A Timer is wired to the Player Add a Timer under Player, select it, and connect timeout to Player.
- Run the scene and watch timeout fire
Player.tscn is the scene you will instance in every level. Godot will not resolve collisions for a body that has no CollisionShape2D child, and a scene without a script is only a picture.
$ Press Run scene to load Player.tscn and see what Godot would print: _ready() in tree order, then every connected signal and the method it reaches.
What this Godot scene builder teaches
- Scenes as trees: A Godot scene is always a tree of nodes saved as a
.tscnfile; the root node defines the scene type. - Nodes vs scenes: A node is a single class such as Sprite2D or CharacterBody2D; a scene is a reusable tree built from many nodes.
- Signals: Runtime communication stays explicit. A pickup can emit
picked_upand a HUD can respond without polling global state. - Instancing: Any saved scene can be instanced inside another scene the same way you add a single node.
- Composition over inheritance: Attach scripts to the nodes that own behavior, then compose the result into larger scenes.
Godot scene tree FAQ
What is a Godot scene?
A Godot scene is a tree of nodes saved as a .tscn file. Scenes can be instanced inside other scenes, making them Godot's reusable building block.
How do I add a child node in Godot?
In the editor, right-click any node and choose Add Child Node. In GDScript, call parent.add_child(child_node). The child inherits the parent's transform automatically.
What's the difference between a Node and a Scene?
A Node is a single building block. A Scene is a tree of nodes saved as a reusable unit. Any scene can be a level, prefab-style object, or UI component.