Course Overview

What this GDScript course covers, how to use it, prerequisites.

A self-contained, hands-on course covering GDScript, the built-in scripting language of the Godot Engine (focused on Godot 4.3–4.5, with Godot 3 differences noted): the editor, scenes and nodes, the scene tree, variables and static typing, built-in types, collections, control flow and pattern matching, functions and lambdas, classes, properties, annotations and exports, lifecycle callbacks, signals, coroutines with await, input, 2D and 3D movement, physics, animation, tilemaps, cameras, UI, audio, resources, saving and loading, autoloads, scene instancing and node communication, navigation and pathfinding, state machines and AI, shaders, multiplayer, threads, editor plugins, debugging and testing, performance, GDExtension and C# interop, exporting, project structure, migration from Godot 3, and complete game projects. Every chapter has runnable examples and exercises.

Course Map

Part I — Foundations Introduction to Godot & GDScript Installing Godot & Creating a Project The Godot Editor Tour Scenes, Nodes & the Scene Tree Your First Script

Variables, Constants, Enums & Static Typing Core Built-in Types

Math Types: Vectors, Colors, Rects & Transforms Collections: Arrays, Dictionaries & Packed Arrays Operators & Expressions Control Flow & Pattern Matching Functions, Lambdas & Callables Part II — Core Language & Engine Classes, Inheritance & Inner Classes Properties: Setters & Getters Annotations & Exported Properties Node Lifecycle Callbacks Coroutines & await Input Handling & the Input Map 2D Movement with CharacterBody2D

Physics Bodies, Areas, Collision Layers & Raycasts Animation: AnimationPlayer, AnimationTree & Tweens Sprites, TileMapLayer & Cameras

User Interface: Controls, Containers & Themes Resources & Loading Saving & Loading Data

Autoloads, Groups, Scene Instancing & Node Communication Part III — Advanced 3D Game Development Navigation & Pathfinding State Machines & AI Patterns Shaders from GDScript Multiplayer & Networking Threads, Mutexes & WorkerThreadPool Editor Tools & Plugins Debugging, Profiling & Unit Testing GDExtension & C# Interop Exporting to Platforms

Project Structure, Version Control & Style Guide Migrating from Godot 3 to Godot 4

Part IV — Projects & Real-World GDScript Complete Game Projects Best Practices & Common Pitfalls

Appendices: Cheat Sheet, Keywords, Reference, Version History, Resources, Study Plan