Topic: Godot/Key Concepts

From Rice Wiki
Revision as of 21:05, 23 March 2024 by Admin (talk | contribs)

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