Topic: Godot/Key Concepts: Difference between revisions

From Rice Wiki
(Created page with "Test")
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Test
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

Latest revision as of 19:42, 8 April 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

Sources