Guide to the Godot game engine/GDScript

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Guide to the Godot game engine


GDScript

Skip to bottom

GDScript uses dynamic typing (Variable type can change and type is not inferred on creation) with optional static typing.

Note:

Godot 4.x gives massive changes to GDScript compared to the 3.x line, including to the export keyword. Another change is that static typing will be 40% - 70% faster at runtime.


GDScript