Skip to content

Godot

Scope: games and apps built with Godot 4, mainly in GDScript. Documentation links point to the current stable release. These guidelines build on the engine-independent game development guidelines and the general guidelines.

Entries are sorted by score from 1 to 10 (criteria): 9โ€“10 start here or strongly recommended, 6โ€“8 recommended, 1โ€“5 further reading or conditional.

Adopted references

The Godot documentation has an official best practices section. Follow it as the baseline. The files below add only points that are easy to miss and choices the documentation leaves open.

  • 9 Best practices (Godot docs): the baseline. Scene organization, scenes versus scripts, autoloads versus regular nodes, interfaces, notifications, data and logic preferences, project organization and version control.

Guidelines in this folder

  • Project structure: folders and file formats, version control, addons, export presets and per-platform settings.
  • Code architecture: scenes and nodes, scripting languages and style, input and UI layout, multiplayer and threads.
  • Content and performance: profiling, loading and freeing, asset import, data and saving, and localization.
  • Rendering and shaders: renderers, pipeline compilation, materials and shaders, MultiMesh and level of detail.
  • Testing: GUT and gdUnit4, testable code, keeping tests out of exports, and CI.

Sample projects

  • 6 Godot demo projects (Godot Foundation): official demos for each Godot version, including networking, multiple resolutions, threaded loading and the servers API.

Tutorials and further reading