๐Ÿ“š Foundation Course ยท Beginner Friendly

GDScript
Essentials

Master the fundamentals of GDScript before building Godot games. Learn variables, functions, control flow, and how the game engine works. No game building yet, just pure learning.

๐Ÿง‘ Ages 10+ โฑ๏ธ ~1.5 Hours โš™๏ธ Godot 4.x โœ“ Free
๐Ÿ“ฆ Variables ๐Ÿ”ง Functions โšก Control Flow ๐ŸŽฒ Conditionals ๐Ÿ” Loops โœจ๏ธ Objects
Want to follow along offline? Download Free starter project.
โญ
0 XP
Level 1
๐Ÿ”ฅ0
Your Progress 0 / 6 steps
๐Ÿ› ๏ธ
Build it in our Godot Studio too: lay out your scene on a grid, add real GDScript and download a real project.godot plus a scene you can open in Godot, right in the browser with no install. Open the Godot Mod Studio →
๐ŸŒ
How it works: write the code in each step, and the canvas on the right shows what your code does. It is a live preview that builds the game as you go, so you can play every step along the way. Type to see it update, or press Apply to Canvas to test it straight away.
๐ŸฆŠ
Lumo says: every step adds one feature to the same scene. Type a little, click Apply to Canvas, and play it straight away. There is no wrong answer you can't undo.

Build GDScript Essentials Step by Step

Each step adds one feature. Write the code, watch it come alive in the canvas, then make it your own.

Step 1 / 6
A small Godot scene with real GDScript running
You Mastered GDScript Essentials!
You now understand the fundamentals of GDScript. You're ready to build your first Godot game!
๐ŸŽ‰โœจ๐ŸŽฎโœจ๐ŸŽ‰
0
XP Earned
1
Level Reached
๐Ÿš€ Start Your First Game โ†’

Keep creating on-site - try a companion tool

๐ŸŽจ
Pixel Studio
Draw sprites
๐Ÿ”Š
SFX Generator
Make sounds
๐Ÿ—ธ๏ธ
Level Designer
Plan levels
๐ŸŽจ
Colour Palette
Build a scheme
๐Ÿงฉ
Code Order: GDScript Game Loop
+20 XP
Drag these GDScript lines into the correct order for a character that moves and jumps.
if is_on_floor() and Input.is_action_just_pressed("jump"):
func _physics_process(delta):
move_and_slide()
velocity.y += gravity * delta
    velocity.y = jump_force