Tag: GDScript
-
Godot Script Execution Order and Lifecycle
Overview This post describes the initialization and execution order of scripts that are attached to Nodes in the Godot game engine. I created a GitHub repository that logs these notifications and I recommend playing around with a similar project to familiarize yourself. Initialization Member initialization happens in this order: Notifications Most execution is done from…
-
How to Enforce Static Typing in GDScript
This post is written for programmers who have experience working with statically typed languages and want a similar experience when working with GDScript. It supplements the official Godot docs page on Static typing in GDScript. Index Project and Editor Settings Godot 4.2 introduces a valuable way to disable dynamic typing features in GDScript by enforcing…