system

Use when

You have enemy roles and need to arrange them into a specific fight that reads, pressures, and resolves fairly.

Encounter Design

What it is. The arrangement of enemies, space, and time into a single fight. If system-enemy-archetypes is the alphabet, an encounter is the sentence: which roles, in what count, entering from where, with what geometry — and crucially, where the player can breathe. A fight is a rhythm of pressure and pocket, not a constant scream.

Player fantasy / why it’s fun. The satisfaction of reading a room and solving it live. A great encounter poses a legible problem, ramps the pressure, gives one honest window to recover, then peaks. FUN.md §5’s “plannable danger” is the whole ideal: the player should be able to route the fight, not just survive noise.

When to use / when NOT

Use it whenSkip it when
Hand-authoring set-piece fights or roomsEndless horde — that’s a pressure curve (§6), tune the director not the room
A boss arena with addsThe fight IS one entity — go to system-boss-design
Roguelike rooms assembled from partsPure puzzle levels — that’s solver-authored (§1)

The anatomy of an encounter

ElementThe design questionFailure mode
Compositionwhich archetypes, how many?all-tank slog / all-swarm noise
Ingresswhere do they enter, in what order?everything at once → no read
Pressure curvedoes intensity rise, then peak?flat = boring; monotone-hard = unfair
Safe pocketwhere can the player recover mid-fight?none = a war of attrition, not a fight (§5)
Exit lanesare doors/escape routes obstacle-free?cover in the door row = softlock (§4)
Resolutionhow does it end — clear, timer, objective?ambiguous end = the fight overstays

Tuning levers

LeverTurns up…Watch for
Enemy budget (a points cost per role)raw difficultycheap way to overshoot — cap it
Ingress cadencehow fast the room fillsdumping all at frame 0 kills the read
Pocket size / durationrecovery generosityzero pocket = frustration; huge pocket = no tension
Arena geometry (pillars, funnels)kiting arcs & LoS breaksa pillar in an exit lane softlocks (§4)
Composition ratiothe kind of pressureshift ratios to reface a reused arena

How it wires to Hayao

Fails when…

Verify

Composes with

See also

This module rendersthe repo's markdowndirectly — edit it there, it changes here.