Translate one C# script habit at a time instead of rewriting a full controller.
Code Sandbox
Practice GDScript structure, typing, exports, and static checks in the browser.
GDScript Code Sandbox
Practice GDScript snippets in a browser editor with syntax highlighting and saved snippets. Real GDScript execution requires the Godot editor — this sandbox is for reading, editing, and copying patterns. Pair it with the GDScript cheat sheet and our typed recipe library.
🧪 Live GDScript editor
Practice GDScript snippets in a browser editor. Full execution still belongs in Godot.
Player Movement
Basic platformer movement with jump
Static Checks
- ✓ Declares a Godot base node
- ✓ Uses typed GDScript or inferred typed values
- ✓ Includes a Godot lifecycle, signal, or scene API
📝 Key Concepts
CharacterBody2D- Physics body for player controlmove_and_slide()- Built-in movement functionis_on_floor()- Ground detection@export- Expose to Inspector
Lock the pattern in
Before jumping to the next page, turn the idea into one tiny scene or script. That is where the Godot habit sticks.
Convert one Blueprint event chain into a small function.
Prefer short functions, typed variables, and exported tuning fields.
Write a HealthComponent with one signal and two exported values.