Sub topic 5
Teaching one idea at a time
This chapter assumes you know what a core loop is and have read the previous chapter on the first-time user experience (FTUE). The code example is Python 3.9 or later. It is optional if you only want the design material.
Progressive disclosure means the game reveals mechanics in stages, so the player holds only one new idea at a time. This chapter covers how to decide what counts as one idea, how to order ideas, how to check a plan, and where this approach fails.
Why one idea at a time
A new player is doing several jobs at once. They are learning the controls, reading the screen, working out what the game wants, and deciding whether it is worth their time. Working memory is limited, so each new rule competes with the others for attention.
If a level introduces jumping, attacking and a health pickup together, the player cannot tell which of their actions caused which result. They fail and don't know why. The fix is to separate the ideas so that each failure has one possible cause.
There is a second benefit. Each idea the player masters is a small win, and these wins make up the early game's sense of progress. Three ideas taught in three consecutive minutes give three wins. Three ideas thrown at the player at once give one confusing experience.
What counts as one idea
"One idea" is a unit of cause and effect that the player can verify on their own. It is not a button. Pressing jump is one idea, but "jump higher the longer you hold the button" is a second idea built on it.
A practical test: can you write the idea as a single sentence of the form "When I do X, Y happens"? If the sentence needs an "and" or an "unless", you probably have more than one idea.
| Candidate | One idea? | Why |
|---|---|---|
| Press Space to jump | Yes | One input, one result |
| Hold Space to jump higher | Yes, but it depends on jump | One new variable on a known action |
| Attack enemies and collect their drops | No | Two cause-and-effect pairs, so split them |
| Spikes hurt, unless you are dashing | No | The exception is a second idea, so teach spikes first and dashing later |
| A key opens a door of the same color | Yes | One rule, with the color acting as a signifier |
Ideas also differ in weight. Moving a character is nearly free to learn. A resource-trading system is heavy. Give heavy ideas a whole level and light ones a corner of a level. Count by what the player must understand, not by how many lines of code the feature took.
Order ideas by dependency
Some ideas can only be understood after others. You cannot meaningfully teach a double jump before a jump. Write these dependencies down as a graph, then order the lessons so every idea appears after the ideas it needs.
Several valid orders exist. Jump could come before attack, or after. Choose using your core loop. Teach first the idea the player will use most often, because it gets the most practice and carries the most weight in the experience.
Checking a plan with code
A lesson plan is easy to break when levels get edited. A short script can catch the two most common mistakes: a level that introduces more than one idea, and a level that uses an idea before its prerequisite is taught.
from graphlib import TopologicalSorter
# mechanic -> the mechanics it depends on
prereqs = {
"move": [],
"jump": ["move"],
"attack": ["move"],
"double_jump": ["jump"],
"combo": ["attack"],
}
# (level, ideas introduced in that level)
plan = [
("1-1", ["move"]),
("1-2", ["jump"]),
("1-3", ["attack", "combo"]),
]
def validate(plan, prereqs):
known = set()
problems = []
for level, introduced in plan:
if len(introduced) > 1:
problems.append(f"{level}: introduces {len(introduced)} ideas: {sorted(introduced)}")
for mechanic in introduced:
missing = set(prereqs.get(mechanic, [])) - known
if missing:
problems.append(f"{level}: {mechanic!r} needs {sorted(missing)} first")
known.update(introduced)
return problems
print("A valid order:", list(TopologicalSorter(prereqs).static_order()))
for problem in validate(plan, prereqs):
print(problem)The script prints one valid teaching order, then the two problems with level 1-3:
1-3: introduces 2 ideas: ['attack', 'combo']
1-3: 'combo' needs ['attack'] firstThe exact order on the first line can vary, but every mechanic always appears after its prerequisites. Notice that the second problem is a consequence of the first. Splitting level 1-3 into two levels fixes both.
The shape of a single lesson
Teaching one idea does not mean showing it once. A lesson that works usually has three beats, which the chapter on levels as lessons covers in detail:
- The player meets the idea in a situation where it is the only sensible thing to do.
- The player repeats it a few times with small variations until it becomes automatic.
- The player faces a case that asks for a slight change in how they use it.
For now, notice what this implies for scope. One idea per lesson does not mean one idea per minute. It means that while the player is learning idea N, the game does not add idea N+1 on top.
Techniques that keep ideas separate
Restrict the space. Remove everything that is not part of the lesson. If the lesson is jumping, the room has a floor, a gap and nothing else. A player cannot misuse a button that does nothing yet. Some games simply disable the inputs they have not taught.
Make the failure cheap. Falling in a gap should put the player back a few steps, not at a checkpoint two minutes away. Fast retries let the player experiment, and experimenting is how they learn.
Let the environment ask the question. A gap that can only be crossed by jumping teaches jumping without a word of text. The game poses a problem with one solution, and the player finds it.
Introduce a new idea with a safe stage. The first encounter with an enemy happens with the enemy alone, slow, and with no other threats. Only later does it appear alongside other enemies and hazards.
Delay combinations. Combining two known ideas creates a new idea, which is the interaction between them. Treat it as a lesson of its own.
Edge cases and failure modes
Over-fragmenting. Teaching one idea at a time can be pushed too far. If the player spends ten minutes on movement before anything fun happens, they leave. Light ideas should be bundled with play. Keep the first lesson short enough that the player reaches the core loop quickly, as the FTUE chapter argues.
Hidden ideas. Some ideas sneak in without being counted: a new camera behavior, a different button layout on a menu, a score display. If the player has to figure it out, it counts. Audit your plan for implicit ideas as well as named mechanics.
Players who already know. Experienced players find the slow pace insulting. Offer a way to move faster, which the later chapter on skipping and replaying covers. At minimum, make lessons quick to complete for someone who already knows the idea.
Genre knowledge. In a platformer, "jump" needs almost no teaching, because players arrive with it. Spend your lesson budget on what is new in your game, not on conventions of the genre.
Systems that cannot be split. Some mechanics are only meaningful as a whole, such as a crafting system whose value shows only when several parts exist. Introduce a minimal version first, with one recipe and one material, then grow it. The minimal version is the single idea.
Text hiding the problem. Putting two ideas in one text box does not make them one idea. The player still has to absorb both. Count ideas by what the player must do, not by how many screens carry them.
Putting it into practice
- List every mechanic and rule in your game, including the implicit ones such as camera, menus and currencies.
- Write each as a "When I do X, Y happens" sentence. Split any that need an "and" or "unless".
- Draw the dependency graph and mark each idea as light or heavy.
- Order the ideas with the core loop first, and assign light ideas to share levels with play.
- Validate the plan with a script like the one above, then run it again after every level edit.
Exercise
A tutorial level teaches "enemies drop coins when defeated, and coins can be spent in the shop." The playtester defeats enemies but never visits the shop. Using the "one idea" test, what is wrong with the lesson, and how would you split it?
Show answer
The lesson contains two cause-and-effect pairs: "defeat an enemy, get coins" and "spend coins, get an item". The "and" in the sentence signals this. Split it into two lessons. First, a level where defeating enemies drops coins and the player sees the counter rise, with no shop. Later, a level where the player already has coins and the shop is the only new element, so spending them is the obvious next action.
Exercise
Given the dependencies jump needs move, doublejump needs jump, and combo needs attack, and a plan of levels ["move"], ["doublejump"], ["jump", "attack"], what does validate() from this chapter report?
Show answer
It reports that the second level, which introduces doublejump, needs jump first, because jump is not known until the third level. It also reports that the third level introduces two ideas, jump and attack. Moving jump to its own level before doublejump and attack to its own level fixes both.