Sub topic 8
Levels as lessons: introduce, practice, twist
This chapter assumes you know what a core loop is and have read about teaching one idea at a time. The code is Python and is optional for the design discussion. The earlier chapters covered what to teach and in what order. This one covers how a single level delivers a lesson.
The level is the lesson
A level is the unit where a player meets a mechanic. A text box can tell a player that a mechanic exists, but a level can make them use it, fail with it, and then succeed with it. Treat each level as a short lesson with a goal, a safe space to try, and a check that the player understood.
Many well-regarded games use a three-beat structure for this:
- Introduce. The player meets the mechanic in a place where it is the only sensible thing to do.
- Practice. The player uses it several times, with rising demands, until it feels natural.
- Twist. The player meets the mechanic in a new context that tests whether they understood the idea, not just the button press.
Level designers working on platformers and puzzle games often describe a similar pattern with other names. Whatever the vocabulary, the aim is the same: the player builds a correct mental model of the mechanic before the game relies on it.
Beat 1: Introduce in a safe space
The introduction must make the mechanic unavoidable and harmless. Two properties matter.
The mechanic is the only way forward. If a gap blocks the path and jumping is the only action that crosses it, the player will discover the jump without a prompt. This is the strongest form of teaching through play, because the player forms the connection between action and result themselves.
Failure is cheap. In a safe space, a mistake costs a few seconds. A gap over a shallow pit with an instant respawn is safe. A gap over a pit that resets ten minutes of progress is not. Safe also means no competing pressure: no enemies, no timer, and no second new mechanic.
Remove anything that does not serve the lesson. A common error is to add an enemy "for flavor" to the introduction level. The player then has two things to learn at once and cannot tell which one killed them.
Signifiers do the pointing
Because the level carries the lesson, its geometry and visuals should point at the answer. Use the signifiers from the earlier chapter: a glowing ledge that looks grabbable, a lone box next to a button, a camera pan that reveals the target. Pair these with immediate feedback so the player connects cause and effect on the first success.
Beat 2: Practice until it is fluent
One success shows that the player can do the action. It does not show that they own it. The practice beat gives repetition with variation.
Good practice rooms change one variable at a time:
- Distance or size. The gap gets wider.
- Timing. The platform starts to move.
- Sequence. Two jumps in a row, then three.
- Precision. A smaller landing area.
Each repetition should feel slightly different but not harder in an unrelated way. If the practice room adds a new enemy type and a wider gap together, you have mixed two lessons.
How many repetitions? There is no fixed number. Three to five varied uses is a common starting guess for simple actions, and complex mechanics need more. Playtests, covered in a later chapter, settle the number for your game.
Keep the stakes rising gently
Practice should feel like a ramp, not a wall. A reliable check is to ask what a player who understood the introduction but is still unsteady would do. They should be able to fail once or twice and still succeed on the next attempt without needing outside help.
Beat 3: The twist tests understanding
The twist places the mechanic in a context the player has not seen. It separates players who memorized a sequence from players who understood the rule.
Common twist types:
| Twist type | What changes | Example |
|---|---|---|
| Combination | The mechanic meets one the player already knows | Jump while carrying a box, so the jump is lower |
| Inversion | The mechanic works against the player's habit | A switch that must be avoided, not pressed |
| Constraint | A resource or option is removed | Reach the ledge with only one jump available |
| Context | The environment behaves differently | Jumping on ice, where momentum carries |
A twist should be solvable with only what the player has learned. If it requires a rule you never taught, it is a new introduction in disguise, and it will feel unfair.
The twist also pays off the lesson emotionally. Players describe the moment of seeing how an old idea applies in a new place as clever, not tedious. That feeling is what makes a tutorial feel like part of the game.
Sequencing lessons across levels
Individual lessons form a sequence, and the order is where several mistakes appear.
- Introduce one mechanic per level. Two new mechanics in one level split the player's attention and blur the cause of failure.
- Introduce before you practice, practice before you twist. Skipping a beat leaves a gap the player falls into.
- Overlap the beats of different mechanics. The twist of mechanic A can be the practice room for mechanic B. This keeps the pace up and means the earlier skill is used again right away.
- Do not let a mechanic go cold. If the player learns a skill in level 2 and the game does not need it until level 9, expect them to have forgotten it. Bring it back in a small way or add a brief refresher.
Checking this by eye gets harder as a game grows, so a small script can lint a level plan. The following example models a plan as data and flags the problems listed above.
from dataclasses import dataclass, field
@dataclass
class Level:
name: str
introduces: list[str] = field(default_factory=list)
practices: list[str] = field(default_factory=list)
twists: list[str] = field(default_factory=list)
def check_plan(levels: list[Level]) -> list[str]:
problems = []
introduced: set[str] = set()
practiced: set[str] = set()
for lv in levels:
if len(lv.introduces) > 1:
names = ", ".join(lv.introduces)
problems.append(f"{lv.name}: introduces {len(lv.introduces)} new mechanics ({names})")
for m in lv.practices:
if m not in introduced:
problems.append(f"{lv.name}: practices '{m}' before it was introduced")
for m in lv.twists:
if m not in practiced:
problems.append(f"{lv.name}: twists '{m}' before it was practiced")
# Update state only after checking, so a level cannot satisfy its own prerequisites.
introduced.update(lv.introduces)
practiced.update(lv.practices)
return problems
plan = [
Level("1-1", introduces=["jump"]),
Level("1-2", practices=["jump"]),
Level("1-3", twists=["jump"]),
Level("1-4", introduces=["dash", "wall_slide"]),
Level("1-5", twists=["dash"]),
]
for problem in check_plan(plan):
print(problem)Running it prints two problems: level 1-4 introduces two mechanics, and level 1-5 twists dash before the plan ever practices it. The check treats an introduction as not yet practice, which matches the rule that the player needs repetition before a twist. Adapt that rule if your game counts the introduction level as the first practice.
Common errors
- Teaching by text overlay. A popup that says "Press X to jump" in the introduction level bypasses the discovery the level was built for. Use the level's design first and reserve text for hints after idle time.
- No safe space. The first use of a mechanic happens under threat, so players fail without learning.
- A twist with a new rule. The player cannot solve it from what they know, so the failure teaches nothing.
- Practice that repeats identically. Players learn the room, not the mechanic.
- Skipping the twist. The player can execute the action but has no model of when to use it, so later levels that require judgment feel abrupt.
Applying it to your game
- List the mechanics from your core loop and order them by dependency.
- For each mechanic, sketch one introduction space, two to four practice variations, and one twist.
- Remove everything from the introduction space that does not serve the lesson.
- Overlap beats so each twist doubles as the next mechanic's practice.
- Run the plan through a check like the script above, then playtest and watch where players stall.
Exercise
A designer's level 3 introduces a grappling hook. It also contains patrolling guards and a timer, because the designer wants it to feel exciting. Players frequently fail and quit. Which beat is the level getting wrong, and what would you change?
Show answer
The level is a bad introduction beat. It is not a safe space, because guards and a timer add pressure and a second thing to learn, so players cannot tell what caused a failure. Remove the guards and the timer, make the grappling hook the only way across the obstacle, and make failure cheap with a quick respawn. Add guards in a later practice or twist level, once the player can already use the hook.
Exercise
Design a twist for a "push box onto pressure plate" mechanic that players have practiced in three rooms. Name the twist type from the table and explain why it is fair.
Show answer
One answer is an inversion: a room where a pressure plate must stay clear, because pressing it closes the exit, so the player must push the box somewhere else. It is fair because the player needs only what they already know, that boxes push and plates react. The new part is the judgment of when not to use the mechanic. Other valid answers use combination or constraint, as long as no new rule is required.