Top-Down Controller
8-direction movement, mouse aim, a dash with i-frames and a follow camera with shake.
Godot 4.7 · MIT code · CC0 art
Learn to build it: 2D Roguelike: Top-Down Controller (Free, 8 lessons)
Damage code gets tangled when every weapon checks every enemy itself. These three components split the job. A hitbox deals damage, a hurtbox receives it, and a health component keeps the numbers.
Free Godot 4.7 project · MIT licensed · v1.0.0
No account needed. Or download the v1.0.0 ZIP directly.
Download the project from GitHub and unzip it. In the Godot Project Manager, click Import and pick the project.godot file inside the folder.
The README on GitHub explains how each part works and how to copy it into your own game.
1b33150, published 2026-10-03Copying a system works until you need to change it. These quests build it with you, one small step at a time. You write the GDScript in your browser and each step is checked before you move on.
Builds this damage system lesson by lesson: the health component, the hitbox and hurtbox contract, the sword and the dodge.
First 4 lessons free
Builds the movement and dash this project starts from.
Free, 8 lessons
8-direction movement, mouse aim, a dash with i-frames and a follow camera with shake.
Godot 4.7 · MIT code · CC0 art
Learn to build it: 2D Roguelike: Top-Down Controller (Free, 8 lessons)
Four enemy types and a three-pattern boss on one shared state machine, with attacks you can read.
Godot 4.7 · MIT code · CC0 art
Learn to build it: 2D Roguelike: Enemies & AI (First 3 lessons free)
One sword swing split into seven layers you can switch on and off while the game runs.
Godot 4.7 · MIT code
Learn to build it: Game Feel: Make Combat Hit (First 2 lessons free)
See all the free Godot projectsReport a problem with this project