Build the top-down controller at the heart of a 2D action roguelike. A CharacterBody2D that walks in eight directions, aims at the cursor, dashes with invincibility frames, and is chased by a smooth, screen-shaking camera. Every bit of the game feel is code, not art.
8
Lessons
705
XP Reward
Beginner
Difficulty
No videos to zone out to. You write the code yourself in the browser, and Code Checks show what your code passed as you go.
Final result: The dashing, screen-shaking top-down controller you build
Free quest. No membership needed.
0 of 8 lessons completed
Free download. Needs a free account, no card.
It is the finished project for the whole quest. Use it to compare your work or to recover a broken step.
8-direction movement, mouse aim, a dash with i-frames and a follow camera with shake. Free to download, MIT licensed, no account needed.
View the free open-source version on GitHub What is in the Top-Down Controller projectBuild the top-down controller at the heart of a 2D action roguelike. A CharacterBody2D that walks in eight directions, aims at the cursor, dashes with invincibility frames, and is chased by a smooth, screen-shaking camera. Every bit of the game feel is code, not art.
Finish it, then keep the momentum. Here's the logical next step.
Recommended
2D Roguelike: Combat Core
Quest 2 of 7 in the 2D Roguelike campaign.
Give the roguelike controller teeth. Build a reusable HealthComponent, plus the Hurtbox and Hitbox pipeline on clean collision layers. The Hurtbox detects, the Hitbox deals. Then add a weapon state machine that swings from the WeaponPivot, plus damage numbers and hit flash. Finish with a weighty heavy attack that uses hit-stop and shake, and a dodge that reads the dash i-frames.
First 4 lessons free3-5 hours
State Machine AI for 3D Enemies
Optional. Not part of your current route. Needs: Code From Zero, or you can already read GDScript.
Build a full state machine AI for 3D enemies in Godot 4.x. They chase, attack, circle, back away, and react to damage with real knockback and combo tracking, the kind of enemy that actually feels alive.
First 4 lessons free10-14 hours
Advanced Inventory UI
Optional. Not part of your current route. Needs: Finish Inventory System first; Finish Stats & Leveling System first.
Turn your inventory backend into a real, playable UI: drag-and-drop, tooltips, an equipment doll, a hotbar, and save/load.
Guild Hall7-9 hours
Browse campaigns Submit a build to the Showcase Back to your dashboard