Skip to content
Tutorials Center
My learning

Topics

Godot Engine Tutorial

Learn Godot Engine step by step: 36 lessons in 9 chapters with examples, quizzes, diagrams and projects.

Start learning →

of lessons completed

Getting Started

  1. 1 What Is Godot? An Introduction to the Engine Learn what the Godot game engine is, what it is good at, how its scene and node design works, which languages it supports, and how it compares with other engines.
  2. 2 Installing Godot and Using the Project Manager Download Godot 4, choose between the standard and .NET builds, understand the Project Manager, pick a renderer and version control option, and create your first project safely.
  3. 3 Your First Godot Project: Hello, World Build and run your first Godot 4 project: create a scene, add a Label, attach a GDScript, press Play, set a main scene and print to the Output panel, step by step.
  4. 4 Godot Project Structure: res://, user:// and Files Understand how a Godot project is laid out on disk: project.godot, res:// and user:// paths, .tscn and .tres text files, the .godot cache, imports and a clean folder structure.

Editor and Scenes

  1. 5 A Tour of the Godot Editor: Docks, Viewports and Panels Learn every major part of the Godot 4 editor: workspaces, Scene and FileSystem docks, Inspector, 2D/3D viewports, script editor, bottom panels, shortcuts and layout tips.
  2. 6 Godot Scenes and the Scene Tree Explained Understand Godot's core design: nodes, scenes, the SceneTree, parent-child relationships, node paths, ready order and how Godot walks the tree each frame, with a runnable model.
  3. 7 Nodes and 2D Transforms: Position, Rotation, Scale Learn Godot's 2D coordinate system, Node2D position, rotation and scale, local versus global transforms, parent-child inheritance, Vector2 basics, pivots and common mistakes.
  4. 8 Instancing Scenes in Godot: Reuse, Spawn and Edit Learn how scene instancing works in Godot 4: PackedScene, instantiate(), editable children, inherited scenes, spawning bullets and enemies from code, and avoiding common mistakes.
  5. 9 Godot Resources: Data, Loading and Custom Resources Understand Resource objects in Godot 4: textures, scenes and data files, load versus preload, reference counting, sharing and duplicating, and writing your own custom Resource classes.

GDScript

  1. 10 GDScript Basics: Variables, Types and Operators Learn GDScript 4 fundamentals: variables, constants, static typing with := and type hints, built-in types, operators, strings and formatting, with read-only code and a Python model.
  2. 11 GDScript Control Flow and Functions: if, for, match Master GDScript control flow and functions: if/elif/else, for and while loops, match patterns, break and continue, function arguments, defaults, return types, static functions and recursion.
  3. 12 GDScript Classes, Inheritance and @export Variables Learn how GDScript classes work in Godot 4: extends, class_name, inner classes, inheritance, super, @export, @onready, setters and getters, static typing and the is operator.
  4. 13 GDScript Arrays, Dictionaries, Lambdas and Callables Work with GDScript collections: typed Arrays, Dictionaries, packed arrays, sorting and filtering, lambdas and Callable, map, filter and reduce, with copy pitfalls explained.
  5. 14 Godot Node Lifecycle: _ready, _process, _physics_process Learn the Godot node lifecycle: _init, _enter_tree, _ready, _process, _physics_process, delta time, fixed timesteps, set_process, pausing and exit, with a runnable game-loop model.

Nodes and Signals

  1. 15 Godot Signals: Declare, Emit and Connect Events Learn Godot 4 signals: built-in signals, connecting in the editor and in code, declaring custom signals with parameters, emit, disconnect, one-shot connections, await and the observer pattern.
  2. 16 Godot Input: Input Map, Actions and Events Handle player input in Godot 4: define actions in the Input Map, poll with Input.is_action_pressed and get_vector, react to events in _input and _unhandled_input, gamepads, dead zones.
  3. 17 Node Communication in Godot: Call Down, Signal Up, Groups Learn how Godot nodes talk to each other: call down and signal up, get_node, exported references, unique names, groups, call_group, the Event Bus pattern and what to avoid.
  4. 18 Godot Autoloads, Timers, Tweens and Scene Changes Use Godot autoload singletons for global state, Timer nodes and create_timer for delays, Tween for smooth animation, and change_scene_to_file for menus and levels, with examples.

2D Games

  1. 19 Sprites and TileMaps in 2D Draw 2D art in Godot 4: Sprite2D, AnimatedSprite2D, sprite sheets, texture filtering, TileSet atlases, TileMapLayer painting and terrain autotiling, with Python stand-ins.
  2. 20 Player Movement with CharacterBody2D Move a 2D character in Godot 4 with CharacterBody2D, move_and_slide, gravity, jumping, acceleration, coyote time and jump buffering, with runnable Python stand-ins.
  3. 21 Collisions, Layers and Areas in 2D Understand Godot 4 2D physics bodies, collision shapes, layers and masks, Area2D triggers, RayCast2D and signals, with Python stand-ins for the bitmask and overlap tests.
  4. 22 Camera and Parallax in 2D Follow the player with Camera2D in Godot 4: smoothing, limits, zoom, screen shake, resolution scaling and Parallax2D layers, with Python stand-ins for lerp, shake and parallax maths.

3D Games

  1. 23 3D Scenes, Meshes and Materials Build your first Godot 4 3D scene: Node3D transforms, MeshInstance3D, primitive meshes, StandardMaterial3D PBR settings, imported glTF models and the maths behind them, with Python stand-ins.
  2. 24 A 3D Character Controller Build 3D movement in Godot 4 with CharacterBody3D: camera-relative input, gravity, jumping, mouse look, SpringArm3D and acceleration, with Python stand-ins for the vector maths.
  3. 25 Lights, Shadows and Environment Light a Godot 4 3D scene: DirectionalLight3D, OmniLight3D, SpotLight3D, shadows, WorldEnvironment sky, tonemapping, fog, SDFGI, VoxelGI, LightmapGI and the maths of attenuation.

UI, Audio and Animation

  1. 26 Control Nodes and Containers Build menus and HUDs in Godot 4 with Control nodes: Label, Button, anchors, offsets, VBoxContainer, HBoxContainer, MarginContainer, GridContainer, size flags and signals, with layout stand-ins.
  2. 27 AnimationPlayer and Tweens Animate anything in Godot 4: AnimationPlayer tracks and keyframes, method call tracks, code tweens with create_tween, easing and transitions, and AnimationTree blending, with Python stand-ins.
  3. 28 Audio, Buses and Sound Add sound to a Godot 4 game: AudioStreamPlayer, 2D and 3D positional audio, the AudioServer bus layout, effects, volume in decibels, music crossfades and sound pooling, with Python stand-ins.
  4. 29 Themes and Responsive UI Style a Godot 4 interface with Theme resources: StyleBoxFlat, fonts, theme type variations, per-control overrides, content scale and stretch modes, safe areas and localization hints, with stand-ins.

Export and Optimization

  1. 30 Exporting Your Game Ship a Godot 4 game: export templates, export presets, feature tags, Windows, Linux, macOS, Web and Android exports, PCK files, resource filters, icons and signing, with Python stand-ins.
  2. 31 Profiling and Performance Measure before you optimize in Godot 4: frame time budgets, the Debugger Profiler, Monitors, Visual Profiler, Performance singleton, custom timing code and fixed-step physics, with Python stand-ins.
  3. 32 Optimizing 2D and 3D Scenes Speed up a Godot 4 game: draw calls, batching, texture atlases, MultiMeshInstance, visibility ranges and LOD, occlusion culling, object pooling, spatial hashing and GDScript tips, with Python stand-ins.

Projects and Practice

  1. 33 Project: A 2D Platformer Build a complete 2D platformer in Godot 4: project structure, player with coyote time, patrolling enemy, coins, hazards, checkpoints, level scene flow and a game state manager, with a Python logic simulation.
  2. 34 Project: A Top-Down Shooter Build a top-down shooter in Godot 4: 8-direction movement, mouse aiming, bullet pooling, fire rate, enemies chasing with steering, health, waves and a score HUD, with Python simulations of the maths.
  3. 35 Project: A Save and Load System Build a robust save system in Godot 4: the user:// path, JSON and ConfigFile saves, custom Resources, save groups, versioning and migration, atomic writes and checksums, with Python stand-ins.
  4. 36 Godot Practice Challenges Test your Godot 4 skills with graded challenges for 2D, 3D, UI, audio and optimization, runnable Python logic exercises, a debugging checklist, project ideas and a mixed review quiz.