Level design

From ericrisco/rsc-harness · View interactive version

Level design is an AI agent skill from the GitHub repository ericrisco/rsc-harness. Use when designing a game level's space — blockout/greybox layout, pacing that drags or spikes, guiding lost players without waypoints, encounter and arena progression, or secret placement. NOT mechanics or economy (that is `game-design`), NOT story beats (that is `game-storytelling`), NOT engine to

How to use this skill

Skill file

Level design — space that plays before it's pretty

Shape the space, the rhythm, and the encounters so the player always knows where to go, never gets bored, and feels smart for exploring. Prove it in grey boxes; add art last.

This skill owns the craft of physical space and its play: how a level is laid out, how it reads, how its intensity rises and falls, how encounters teach, and where reward hides. It is engine-agnostic — every technique here is validated in a blockout, then handed to an engine skill for the actual tooling.

The pipeline: blockout -> greybox -> playtest -> art (never art-first)

Lock the player's metrics first — height, jump, reach, cover, door/corridor widths — and build all geometry as multiples of them. Guessing widths breaks traversal after the space is full of dependent geometry, which is why this comes before the first box. → references/blockout-to-art.md

| Stage | You build | You answer | Gate to next |

|---|---|---|---|

| Blockout | Primitive geometry only (boxes/planes at true metrics). No materials, no props. | Does the space flow? Are timings/distances right? Can I find my way? | Layout & traversal feel right. |

| Greybox | Blockout + temp neutral materials, placeholder lighting, stand-in enemies/interactables. | Does it read? Does the fight/encounter work? Is pacing right? | Encounters and readability hold up in playtest. |

| Playtest | Nothing — you watch fresh players. | Where do they hesitate, get lost, die, skip? | Fixes are cheap because it's still grey. |

| Art pass | Meshes, materials, VFX, final lighting, audio — serving the proven layout. | Does art reinforce the guidance the greybox already established? | Ship. |

Iterate blockout↔playtest many times before art: changing a grey box is minutes, changing a finished art set-piece is days — so never model or texture a space you have not already proven fun. Full stage detail, the metrics block, and the art-pass handoff checklist → references/blockout-to-art.md.

Spatial composition — leading the eye

Framing, contrast, and layout topologies (loops, hubs, gates) → references/guidance-and-readability.md.

Pacing & rhythm — tension and release

Design the intensity graph for the whole level, not room by room. Intensity must rise and fall — sustained peak is fatigue, sustained calm is boredom. A good level is a sawtooth trending upward: each peak (combat, platforming gauntlet, chase) followed by a valley — a safe room / breather with no threat, low stimulus, often a save/restock.

Intensity-graph template, breather patterns, and difficulty-curve worked example → references/pacing-and-encounters.md.

Encounter design — introduce, develop, twist, combine

Teach through space, not text: the four-beat progression (the pattern behind Portal, Half-Life 2, and Mario level craft) introduces a threat where it is safe to learn, before it can kill.

  1. Introduce — meet the new element somewhere it can't hurt you. A single turret across a safe gap; one platform of the new hazard. Learn it risk-free.
  2. Develop — use it for real, low stakes. The turret now guards a corridor you must cross.
  3. Twist — recontextualize it. Two turrets flanking; the turret is behind glass; you must use the turret against enemies. The rule bends.
  4. Combine — the mastery test: the new element plus everything learned earlier, at full intensity.

Design rules for the arena (the shape a fight happens in):

Encounter template, arena patterns, and a full introduce→develop→twist→combine example → references/pacing-and-encounters.md.

Guidance & readability — direct without hand-holding

Guide with the environment so you never need a floating arrow. When a player is lost, that is a readability bug in the level, not player error:

Full catalog — lighting/color/composition, the affordance language, the "critical-path readability" self-test → references/guidance-and-readability.md.

Metrics & playtesting — where players get lost and stuck

You cannot see your own level fresh, so every claim ("this is obvious", "the fight is fun") is a hypothesis until a fresh player validates it. Observe, don't coach:

Playtest protocol, question scripts, and turning heatmaps into fixes → references/guidance-and-readability.md.

Reward & secret placement, risk vs reward

Reward taxonomy, secret-signposting, and risk/reward tuning → references/guidance-and-readability.md.

Anti-patterns

| Anti-pattern | Do instead |

|---|---|

| Making it look good first, then tuning the layout. | Art-first burns days reworking assets when the layout changes. Blockout, playtest, then art. |

| Trusting that it's "obvious where to go". | Obvious to you, the author. Fresh players get lost. Watch one before you believe it. |

| Patching confusion with a waypoint arrow or big text prompt. | That's a patch over a readability failure. Fix it with light, framing, and a landmark first. |

| Keeping the whole level intense because intensity is exciting. | Sustained peak = fatigue and it all flattens into noise. Add breathers so the peaks read. |

| Reusing the space by sending the player back the way they came. | Repeated dead-end backtracking reads as padding. Use loops that return the player forward. |

| Dropping a new mechanic in and expecting players to figure it out. | Not while it's killing them. Introduce it where it's safe, then develop/twist/combine. |

| Yellow paint everywhere so they see the ledges. | Only if yellow means exactly climbable and appears nowhere else. Inconsistent affordances lie. |

| Hiding a secret so well nobody finds it. | A secret with no breadcrumb is just frustration. Show the thread; reward the curious eye. |

| Eyeballing gap, cover, and door widths because they feel about right. | Guessing metrics breaks traversal later. Set the metrics block first; build to multiples. |

Related skills

Checklist

Project grounding (02-DOCS + CLAUDE.md)

When this skill runs in a project with a 02-DOCS/ layer (the CODE1 Karpathy wiki), record the level-design conventions there and index them from the root CLAUDE.md, so the next agent inherits them instead of re-deriving:

  1. Find the article 02-DOCS/wiki/stack/level-design.md, indexed in 02-DOCS/wiki/index.md (the Knowledge map).
  2. If missing or stale, create/update it with the project's real conventions — the metrics block, the reserved interact-color, the pacing/breather cadence, the encounter-teaching pattern, and any per-level intensity graphs — then index it.
  3. Read it first on every use and stay consistent; when a convention changes, update the article (bump its Updated date) in the same change.

No 02-DOCS/ layer? Skip silently (optionally suggest harness). Conventions are recorded, not gated — never block the design work on this.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.