Topic: Godot/Key Concepts: Difference between revisions
From Rice Wiki
(Created page with "Test") |
No edit summary |
||
Line 1: | Line 1: | ||
In Godot, a game is a '''tree''' of '''nodes''' grouped in to '''scenes''' and communicate with each other using '''signals'''. | |||
A '''node''' is the most basic element. | |||
A '''scene''' is a reusable element of the game; anything from an item to a map. They are made from groups of nodes and other scenes. | |||
All of a game's scenes create a '''scene tree'''. | |||
Nodes emit a '''signal''' when some event happens. This is the primary way for nodes and scenes to communicate. | |||
= Node = | |||
A '''node''' is the most basic element of a Godot game. All nodes consists of the following characteristics: | |||
* Has a name | |||
* Has editable properties | |||
* Receives callbacks to update every frame | |||
* Extendable with new properties and functions | |||
* Can contain other nodes | |||
= Sources = | |||
* https://docs.godotengine.org/en/stable/getting_started/step_by_step/nodes_and_scenes.html |
Revision as of 21:05, 23 March 2024
In Godot, a game is a tree of nodes grouped in to scenes and communicate with each other using signals.
A node is the most basic element.
A scene is a reusable element of the game; anything from an item to a map. They are made from groups of nodes and other scenes.
All of a game's scenes create a scene tree.
Nodes emit a signal when some event happens. This is the primary way for nodes and scenes to communicate.
Node
A node is the most basic element of a Godot game. All nodes consists of the following characteristics:
- Has a name
- Has editable properties
- Receives callbacks to update every frame
- Extendable with new properties and functions
- Can contain other nodes