Learn GDScript
A free, interactive online GDScript course. Learn the language that scripts Godot games before you open the editor: every lesson runs your code on a real Godot engine in the browser, with AI hints when the output doesn't match and a free certificate when you finish a section.
1,153+ codders enrolled
235 lessons235 challenges751 quiz questions
- Beginner friendly
AI-assisted coding help
Hands-on interactive lessons
Audio narration on every lesson
Quizzes to test your knowledge
Free certificate of completion
Syllabus
Section 1
Fundamentals
Start sectionStartBuild a strong foundation with essential concepts and basic skillsIntroduction
4 lessons415Variables Part 1
5 lessons1025Variables Part 2
5 lessons920Operators Part 1
6 lessons1125Operators Part 2
5 lessons920Decision Making
5 lessons920Basic IO
7 lessons1225Bill Split Calculator
Project5 lessons5Loops
8 lessons1430Functions
7 lessons1225FizzBuzz with a Twist
Project4 lessons4Arrays Basics
7 lessons1225Iterating Over Arrays
4 lessons820Arrays Advanced
4 lessons820Dictionaries
6 lessons1125Daily Expense Tracker
Project7 lessons7Final Challenges
3 lessons3Section 2
Logic & Flow
Start sectionStartDevelop problem-solving skills and create dynamic, interactive programsStrings In Depth
5 lessons920Advanced Decision Making
6 lessons1125Multi-dimensional Arrays
7 lessons1225Dictionaries Part 2
5 lessons920Contact Book Application
Project7 lessons7Sets with Dictionaries
6 lessons1125Enums
5 lessons920Student Records Manager
Project7 lessons7Advanced Data Aggregation
4 lessons715Advanced Functions
7 lessons1225Higher-Order Functions
6 lessons1020Basic Error Handling
5 lessons920Inventory Management System
Project5 lessons5Final Challenges
3 lessons3Section 3
Object Oriented Programming
Start sectionStartModel programs with classes and objects split across files. Learn constructors, properties, static members, inheritance, abstract classes, polymorphism, signals, nodes and classic design patterns, then build a Library Management project.Fundamentals of OOP
8 lessons1535Class Properties
6 lessons1125Inheritance
6 lessons1125Polymorphism
5 lessons920Encapsulation
5 lessons920Special Methods
4 lessons716Signals
5 lessons920Advanced OOP Concepts
5 lessons1025Design Patterns Part 1
5 lessons1025Design Patterns Part 2
6 lessons1230Project: Library Management
6 lessons6Final Challenges
4 lessons4
Learn by Doing
Write real code, query databases, build websites, and master AI prompts. Our interactive lessons cover every skill modern developers need.
Build Your Streak
Stay consistent and watch your progress grow! Track your daily coding habit, protect your streak with freeze days, and earn rewards for showing up every day.
12 days streak
Return tomorrow to keep your streak!
January 2026
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
21
22
23
24
25
26
27
28
29
30
Double or Nothing
Day 5 of 7
Streak Freeze
2 left
Code Anywhere
Take your coding journey on the go! No setup, no downloads: just open and start coding. Available on iOS, Android and Web with 4.9 star ratings.
You're Not Alone
Compete on global leaderboards, invite friends to earn rewards, and celebrate each other's wins. Coding is better with friends!
Every way to learn
Read, listen, test yourself, ask the AI, or look up anything you've already covered. Every lesson meets you where you are.
A variable is a named container that stores a value you can reference later in your program.
In Python, you create one by writing the name, an equals sign, then the value you want to store.
The value can change over time. Reassigning the name simply points it to a new value.
Earn a Certificate
Earn certificates for every course you complete. Add them to your LinkedIn profile and resume to showcase your coding expertise to employers.
Why learn GDScript with Coddy
- Run real GDScript on a real Godot 4 engine, right in your browser. No Godot download, no project to set up, no scene tree to configure: each lesson runs your script on the engine and shows the printed output and any errors instantly.
- GDScript as Godot developers write it:
varandconst, static typing with type hints and:=inference,if/elif/else,matchwith guards and array and dictionary patterns,forandwhileloops,range(), functions with return types and default values, typed arrays, dictionaries, enums, lambdas, recursion, andmap,filterandreduce. - Object-oriented GDScript the way Godot uses it: classes,
_initandself, static variables and functions, property setters and getters, inheritance withsuper, type checks withis,_to_string, inner classes,RefCountedvsNode, and signals you declare,emit()andconnect(). Then design patterns like Singleton, Factory, Observer and State, all written in GDScript. - AI hints help with the parts that trip up beginners, like indentation errors, integer division dropping the remainder, casting text input to numbers, and why a typed variable refuses a value, without handing you the answer.
Frequently asked questions about learning GDScript
What is GDScript used for?
GDScript is the built-in scripting language of the Godot engine. Developers use it to write the logic of Godot games and apps: player movement, enemies, menus, inventories, save systems and editor tools. It is designed around Godot's nodes and signals, so it is the most direct way to script a Godot project. Godot also supports C#, and C++ through GDExtension, but most Godot tutorials, docs and examples are written in GDScript.
Is GDScript similar to Python?
func where Python uses def, and var to declare variables, so Python developers usually feel at home within days. The differences are optional static typing (var speed: float = 10.0), built-in types made for games such as Vector2 and Color, signals, and classes that map to Godot nodes. It is its own language, not a Python dialect, so Python libraries do not run in it.Is GDScript a good first programming language?
Yes. GDScript has short, readable syntax with no semicolons or braces, which makes it one of the friendlier first languages. The course assumes no programming experience: it starts with printing text and storing values in variables, then builds up to functions, arrays, dictionaries and classes, one small lesson at a time.
Do I need to install Godot to take the course?
No. Every lesson runs your GDScript on a real Godot engine in your browser and shows the output, so there is nothing to download or set up. When you install Godot later, everything you learned carries over, because it is the same language running on the same engine.
Will this course teach me to make games in Godot?
It teaches the language you make them with. You learn variables, control flow, functions, arrays, dictionaries, classes, inheritance and signals through console programs and projects that run instantly. The course does not cover the Godot editor, scenes, sprites or physics. Learning GDScript first means that when you open Godot, you can focus on the engine instead of fighting the syntax.
How long does it take to learn GDScript?
The basics (variables, decisions, loops and functions) take one to two weeks of daily practice. Strings, arrays, dictionaries and error handling take another two to three weeks, and classes, inheritance, signals and design patterns a few weeks more. If you already know Python, expect to move through the first section much faster.
Is Godot free, and is the GDScript course free?
Both are free. Godot is free and open source under the MIT license, with no royalties or fees, and runs on Windows, macOS and Linux. The interactive GDScript course on Coddy is free too: lessons, coding exercises, projects, challenges and a certificate.
Do I get a certificate after the GDScript course?
Yes. Finishing a section of the GDScript course gives you a free certificate of completion that you can add to your resume or share on LinkedIn, next to the Godot projects you build.