Game Development with Godot & GDScript
Make 2D and 3D games with Godot 4.7 and GDScript: scenes, signals, physics, UI, saving, shaders, multiplayer and export, with every example run on Godot 4.7.2.
49 lessons: 1 free, 36 free with Pro answers and 12 with a free core.
Examples run with godot 4.7.2-stable.
Who it is for
Hobbyist and indie game developers.
What you will be able to do
- Install Godot 4.7, work in the editor and set up projects that version control and other computers handle cleanly
- Write typed GDScript with variables, control flow, functions, collections and classes
- Build games from scenes and nodes, and connect them with signals, groups and autoloads
- Handle keyboard, mouse, touch and gamepad input through actions that players can rebind
- Move characters and objects with vectors, transforms and 2D and 3D physics
- Build 2D worlds with TileMapLayer, cameras and lights, and animate them with tracks, state machines and tweens
- Make menus and HUDs that work with a controller and a screen reader, in more than one language
- Save games safely, load player files and mods without running untrusted code, and structure larger games
- Test, debug and profile games, and keep them within a frame budget
- Add online features and multiplayer, then export, credit and publish finished games
Revise and practise
- Practice: every exercise and quiz (49 quizzes)
Modules and lessons
What the labels mean
- Free
- the whole lesson and every answer in it
- Free lesson, Pro answers
- the whole lesson is free; the model answers to its interview questions open with a pass
- Free core, Pro depth
- the core of the lesson is free; its in-depth parts open with a pass
- Pro
- opens with a Pro, Premium or Ultimate pass
Minutes are reading time: “7 of 20 min free” means 7 minutes of the lesson are free.
What a pass opens in this track
36 in-depth parts and 109 interview answers. The same pass opens every other track and every Pro tool.
- Module 1
Godot, the editor and your first scene
Install Godot 4.7.2, find your way around the editor, build scenes from nodes and set up a project for version control.
- Godot 4.7: install, versions and renderers Free lesson, Pro answers: 20 minutes
- The editor, Project Manager and settings Free lesson, Pro answers: 15 minutes
- Nodes, scenes and instancing Free lesson, Pro answers: 15 minutes
- Project files, UIDs and version control Free lesson, Pro answers: 15 minutes
- Module 2
GDScript fundamentals through game data
Variables, types, strings, control flow, match and functions, taught with game examples and checked headless on Godot 4.7.2.
- Your first script and the game loop Free lesson, Pro answers: 20 minutes
- Variables, types and operators Free lesson, Pro answers: 15 minutes
- Strings, StringName and text formatting Free lesson, Pro answers: 15 minutes
- Conditions and loops Free lesson, Pro answers: 15 minutes
- match statements, patterns and enums Free lesson, Pro answers: 15 minutes
- Functions, scope and variadic arguments Free lesson, Pro answers: 15 minutes
- Module 3
Arrays, dictionaries and packed data
Arrays, typed arrays, dictionaries, typed dictionaries and packed arrays, with the reference-semantics traps measured on 4.7.2.
- Arrays and typed arrays Free lesson, Pro answers: 20 minutes
- Dictionaries and typed dictionaries Free lesson, Pro answers: 20 minutes
- Packed arrays and building strings fast Free lesson, Pro answers: 15 minutes
- Module 4
The scene tree, nodes and signals
Node lifecycle, finding nodes, signals, await, instancing and saving scenes, and autoloads: the core of every Godot game.
- The scene tree and node lifecycle Free lesson, Pro answers: 20 minutes
- Finding nodes: paths, groups, unique names Free lesson, Pro answers: 20 minutes
- Signals and connections Free lesson, Pro answers: 15 minutes
- await, coroutines and timers Free lesson, Pro answers: 15 minutes
- Instancing, saving and switching scenes Free lesson, Pro answers: 15 minutes
- Autoloads and global state Free lesson, Pro answers: 15 minutes
- Module 5
Input and player control
Actions, events, analogue input, mouse, touch, gamepads and rebinding, all tested by replaying simulated input headless.
- Input map, actions and input events Free lesson, Pro answers: 20 minutes
- Mouse, touch, gamepads and key rebinding Free lesson, Pro answers: 20 minutes
- Module 6
Game math and 2D physics
Vectors, transforms, physics bodies, layers and masks, character controllers, queries and physics interpolation, verified with fixed-step headless runs.
- Vector math for games Free lesson, Pro answers: 20 minutes
- Transforms and coordinate spaces Free lesson, Pro answers: 15 minutes
- Physics bodies, layers and masks Free lesson, Pro answers: 20 minutes
- Platformer and top-down character controllers Free lesson, Pro answers: 15 minutes
- Rigid bodies, raycasts and physics queries Free lesson, Pro answers: 15 minutes
- Physics ticks, interpolation and jitter Free lesson, Pro answers: 15 minutes
- Module 7
Building 2D worlds
Sprites and pixel art, TileMapLayer and TileSets, cameras and parallax, 2D lights and custom drawing.
- Sprites, sprite sheets and pixel art Free lesson, Pro answers: 15 minutes
- TileMapLayer, TileSets and terrains Free lesson, Pro answers: 15 minutes
- Cameras, parallax and screen resolution Free lesson, Pro answers: 20 minutes
- 2D lights, shadows and custom drawing Free lesson, Pro answers: 15 minutes
- Module 8
Animation and game feel
AnimationPlayer, AnimationTree state machines and blend spaces, Tweens, easing and juice, all advanced deterministically for tests.
- AnimationPlayer and animation tracks Free: 20 minutes
- AnimationTree, blend spaces and state machines Free lesson, Pro answers: 20 minutes
- Tweens, easing and game juice Free lesson, Pro answers: 15 minutes
- Module 9
Classes, memory and custom resources
Classes and inheritance, properties, static members and abstract classes, lambdas and their capture rules, memory management and data-driven resources.
- Classes, inheritance and class_name Free lesson, Pro answers: 15 minutes
- Properties, static members and abstract classes Free core, Pro depth: 7 of 20 minutes free
- Lambdas, Callables and capture rules Free core, Pro depth: 7 of 20 minutes free
- Memory: Object, RefCounted, Node, Resource Free core, Pro depth: 7 of 20 minutes free
- Custom resources and data-driven design Free core, Pro depth: 5 of 15 minutes free
- Module 10
Static typing, debugging and testing
Strict typing and warnings, error handling without exceptions, the debugger and profilers, unit tests with GUT and gdUnit4, and documentation.
- Static typing and the warning system Free lesson, Pro answers: 15 minutes
- Errors, asserts and defensive code Free core, Pro depth: 7 of 20 minutes free
- Debugger, profiler and monitors Free core, Pro depth: 8 of 20 minutes free
- Unit tests with GUT and gdUnit4 Free core, Pro depth: 5 of 15 minutes free
- Style guide, doc comments and external editors Free core, Pro depth: 7 of 20 minutes free
- Module 11
UI, menus, accessibility and localization
Control layout, themes and rich text, HUD, pause and settings menus, controller focus and screen-reader support, and translations.
- Control layout: anchors and containers Free lesson, Pro answers: 20 minutes
- Themes, fonts and rich text Free core, Pro depth: 7 of 20 minutes free
- HUD, pause and settings menus Free core, Pro depth: 7 of 20 minutes free
- Focus navigation and accessibility Free core, Pro depth: 8 of 20 minutes free
- Localization and translations Free core, Pro depth: 7 of 20 minutes free
Related tools
Official documentation
- Godot Engine documentation (4.7) (Godot Engine)
- Godot release policy (Godot Engine)
- Maintenance release: Godot 4.7.2 (Godot Engine)