Core concepts
Scene, node and prefab
A scene is everything loaded at once (a level, a village). A node or game object is one thing in it, and nodes sit in a tree: a house holds a door that holds a handle. A prefab is a saved node tree you can stamp out many times.
Watch: see it in 30 seconds
Video coming soon
A 30-second visual explanation
Why it matters for your game
- Moving a parent moves its children: that is why a character's hat follows its head without extra code.
- 'Make a prefab for the villager' means build it once and spawn copies; change the prefab and every copy changes.
- Loading and unloading scenes is how a game goes from the village to inside a house without loading everything at once.
How it comes up when you talk to your AI
- 'Scene', 'node', 'game object', 'entity', 'parent and child', 'transform' (position, rotation, scale), 'prefab' or 'scene instance', 'spawn' or 'instantiate'.
- If something moves wrongly when its parent moves, the question is whether its position is local (relative to the parent) or world.
Ask your AI about it
Paste this into the assistant you build with. It is written to get a useful answer for your own project, not a textbook page.
Explain scenes, nodes, parent-child transforms and prefabs in a game engine, using a village with houses and villagers as the example. Tell me how you would organise our game's scene tree and what you need from me to make a villager prefab.