Interactive lessons available nowThis course already contains working browser exercises and downloadable Godot project checkpoints.
Learn typed GDScript through small, interactive programs and gameplay calculations.
Stage 1 · Programming and GDScriptSyllabus 18 topics
What you will learn
- Write typed variables and functions
- Use conditions, loops, arrays, and dictionaries
- Read and fix common GDScript errors
Course syllabus
- 01
Anatomy of a GDScript file
- 02
extends and the script base type
- 03
Variables and explicit type annotations
- 04
Type inference with :=
- 05
Constants
- 06
Arithmetic and assignment operators
- 07
Comparisons and Boolean logic
- 08
if, elif, and else
- 09
match
- 10
for loops
- 11
while loops
- 12
Functions, parameters, and return types
- 13
Local scope and member scope
- 14
Arrays
- 15
Dictionaries
- 16
Strings and format strings
- 17
Vector2, direction, distance, and coordinates
- 18
Common parser and type errors
Course projectScore and Rank Simulator
Course lessons
Back to Academy-
1
Start
Create a Typed Player Profile
Keep the player name as Nova, change score to 250, and set has_key to true without removing the type annotations.
Console · 20 minutes -
2
Start
Calculate a Final Score
Return base score plus bonus, subtract two points for every damage point, and clamp the final result to a minimum of zero.
Function · 25 minutes