Build real-time top-down melee combat in Godot 4. You'll wire up Area2D hitboxes and hurtboxes, a reusable HealthComponent, directional swings, a practice-dummy enemy, knockback, i-frames, and hit feedback that actually feels good.
10
Lessons
1015
XP Reward
Intermediate
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.
Campaign preview: Real-time combat in the complete 2D top-down RPG


Start the first 4 lessons free. Membership unlocks the other 6, plus every other quest and campaign.
Start with a 7-day free trial, then $25/month. Cancel anytime.
0 of 10 lessons completed
Your Construct can only do what you have taught it. Finish these lessons and it runs your code for real, not a copy of it.
Strikes, and the strike lands where you can see it
Lesson 2
Build real-time top-down melee combat in Godot 4. You'll wire up Area2D hitboxes and hurtboxes, a reusable HealthComponent, directional swings, a practice-dummy enemy, knockback, i-frames, and hit feedback that actually feels good.
Finish it, then keep the momentum. Here's the logical next step.
Recommended
2D Top-Down Enemy AI
Quest 5 of 11 in 2D Top-Down RPG.
Give your enemies a brain. You'll build a 2D finite state machine with six states: idle, roam, chase, a telegraphed leap attack, hitstun and death. It drives CharacterBody2D movement using NavigationAgent2D pathfinding and distance-based detection.
First 2 lessons free6-9 hours
State Machine AI for 3D Enemies
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
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