Skip to main content

2D Top-Down Enemy AI

The Hunting Grounds

0/30
Lessons 1-2 are free. Lesson 3 onward unlocks with Guild Hall membership.

Lesson 1

Enemy Scene & the State Machine Pattern

Build: Build the enemy scene and understand why FSMs beat if-statement towers

Start
EnterThe Briefing Chamber40 XP
PracticeThe Warden's Workshop Finish previous lesson
BuildThe Proving Vault Finish previous lesson
Reward

Lesson 2

BaseState & StateMachine in 2D

Build: Build the State contract and the machine that drives it

EnterThe Blueprint Hall40 XP
PracticeThe Forge Finish previous lesson
BuildThe Proving Chamber Finish previous lesson
Reward

Lesson 3

Idle & Roam States

Build: Teach your enemy to wait, then wander

EnterThe Watchtower Gate Guild Hall
PracticeThe Garrison Guild Hall
BuildThe Proving Courtyard Guild Hall
Reward

Lesson 4

Player Detection

Build: A proximity check that breaks the wander loop into a chase

EnterEyes in the Dark Guild Hall
PracticeThe Watcher's Workshop Guild Hall
BuildThe Proving Vault Guild Hall
Reward

Lesson 5

Chase with NavigationAgent2D

Build: Pathfind around walls, then lunge into Attack or break off to Idle

EnterThe Winding Corridors Guild Hall
PracticeThe Cartographer's Den Guild Hall
BuildThe Maze Trial Guild Hall
Reward

Lesson 6

The Telegraphed Leap Attack

Build: Wind up, spring, and land, a dodgeable melee attack with three phases

EnterThe Weapon Vault Guild Hall
PracticeThe Forge Guild Hall
BuildThe Trial Arena Guild Hall
Reward

Lesson 7

Leashing, Cooldowns & Combat Spacing

Build: Tune the canonical knobs that keep the slime fight fair and readable

EnterThe Spacing Model Guild Hall
PracticeThe Tuning Bench Guild Hall
BuildThe Proving Ground Guild Hall
Reward

Lesson 8

Taking Damage & Hitstun

Build: HealthComponent, Hurtbox, and a stagger state that interrupts the AI

EnterThe Wound Ward Guild Hall
PracticeThe Stagger Forge Guild Hall
BuildThe Impact Chamber Guild Hall
Reward

Lesson 9

Enemy Death, Loot & the Hit Flash

Build: Play out the death, drop loot, free the body, plus the white hit flash

EnterThe Last Breath Guild Hall
PracticeThe Undertaker's Workshop Guild Hall
BuildThe Proving Ground Guild Hall
Reward

Lesson 10

Tuning & Multiple Enemy Types

Build: Tune the exported knobs for game feel, then duplicate the scene to spin up a whole roster

EnterThe Archive of Beasts Guild Hall
PracticeThe Forge Guild Hall
BuildThe Trophy Hall Guild Hall
Reward