Hitbox and Hurtbox
Health, hitbox and hurtbox components with one hit per swing, knockback, hit-stop and i-frames.
Godot 4.7 · MIT code · CC0 art
Learn to build it: 2D Roguelike: Combat Core (First 4 lessons free)
A top-down character that only walks feels flat. This controller adds the pieces that make it feel responsive. Aim follows the mouse, the dash is one you can rely on, and the camera looks where you aim.
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.
856168f, 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 controller one piece at a time, written and checked in your browser.
Free, 8 lessons
Carries on from here with health, hitboxes, hurtboxes and a weapon.
First 4 lessons free
Health, hitbox and hurtbox components with one hit per swing, knockback, hit-stop and i-frames.
Godot 4.7 · MIT code · CC0 art
Learn to build it: 2D Roguelike: Combat Core (First 4 lessons free)
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