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,000+ 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 sectionStartExpandCollapseBuild a strong foundation with essential concepts and basic skillsIntroduction
4 lessons415Variables Part 1
5 lessons525Variables Part 2
5 lessons520Operators Part 1
6 lessons625Operators Part 2
5 lessons520Decision Making
5 lessons520Basic IO
7 lessons725Bill Split Calculator
Project5 lessons5Loops
8 lessons830Functions
7 lessons725FizzBuzz with a Twist
Project4 lessons4Arrays Basics
7 lessons725Iterating Over Arrays
4 lessons420Arrays Advanced
4 lessons420Dictionaries
6 lessons625Daily Expense Tracker
Project7 lessons7Final Challenges
3 lessons3Section 2
Logic & Flow
Start sectionStartExpandCollapseDevelop 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 sectionStartExpandCollapseModel 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
Project6 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?
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.