Sub topic 9
Scaffolding that fades
This chapter assumes you know what a core loop is, have played enough games to recognize common tutorial patterns, and can read short code examples. The earlier chapters covered feedback and levels as lessons (introduce, practice, twist). This chapter covers how to withdraw support so the player ends up skilled and not dependent.
What scaffolding is
Scaffolding is temporary support that lets a player do something they could not yet do alone. The support is removed as skill grows. The term comes from education research, and it fits games well because a game can change its own rules and presentation at any moment.
Scaffolding in games takes several forms:
- Visual aids. A trajectory line for a thrown object, a highlighted door, a glowing ledge.
- Mechanical aids. Slower enemies, a larger hit window, forgiving collision, aim assist, or no penalty for failure.
- Structural aids. A level that removes every distraction so only the new mechanic matters.
- Informational aids. Prompts, button icons, and short text.
Each of these has a cost. A permanent aid hides the real game. A player who has always seen the trajectory line never learns to judge the arc by eye. A player who has never been hit during practice has no model of the danger.
The three phases: support, reduce, remove
Fading follows a rough sequence. The player gets full support, then partial support, then none.
| Phase | What the player sees | Example: a jump over gaps |
|---|---|---|
| Full support | Aid always on, failure is cheap | Landing marker shown, gap is narrow, falling respawns instantly |
| Partial support | Aid appears only on request or after failure | Marker appears only after the player falls twice |
| No support | Aid absent, full consequences | Wide gaps, no marker, moving platforms |
The phases map onto the level pattern from the previous chapter. The introduce step usually runs with full support. The practice step reduces it. The twist step removes it, because the twist asks the player to apply the skill in a new situation without the old crutch.
The arrows going backward matter. Fading that only moves forward is a fixed schedule, not scaffolding. A schedule treats every player alike, so it is too fast for some and too slow for others.
Fade on evidence, not on time
The most common error is fading support on a timer or at a fixed level number. "Remove the arrow after level 3" assumes every player has mastered the skill by then. Some have not, and they fall off a cliff. Others mastered it in level 1 and are bored by two extra levels of hand-holding.
Better triggers are based on what the player did:
- Success count. The player completed the action cleanly three times in a row.
- Success without the aid. The player performed the action while ignoring the aid. A player who jumps the gap before the marker appears no longer needs it.
- Failure count. The player failed the same challenge several times. This is a signal to restore support, not to continue fading.
- Time to complete. Fast completion suggests fluency. Very slow completion suggests confusion.
Evidence-based fading needs a small amount of state. The example below tracks recent attempts for one skill and decides the support level.
from collections import deque
from enum import IntEnum
class Support(IntEnum):
NONE = 0
PARTIAL = 1
FULL = 2
class FadingScaffold:
"""Adjusts support for one skill based on recent attempts."""
def __init__(self, window: int = 3, fail_limit: int = 2):
self.level = Support.FULL
self.window = window
self.fail_limit = fail_limit
self.recent = deque(maxlen=window)
def record(self, success: bool) -> Support:
self.recent.append(success)
if len(self.recent) == self.window and all(self.recent):
self._step(-1) # fade one level
elif list(self.recent)[-self.fail_limit:] == [False] * self.fail_limit:
self._step(+1) # restore one level
return self.level
def _step(self, delta: int) -> None:
new_level = Support(max(Support.NONE, min(Support.FULL, self.level + delta)))
if new_level != self.level:
self.level = new_level
self.recent.clear() # judge the new level on fresh evidence
scaffold = FadingScaffold()
for outcome in [True, True, True, True, True, True, False, False]:
print(outcome, scaffold.record(outcome).name)Run it and watch the level drop from FULL to PARTIAL after three successes, then to NONE after three more, then return to PARTIAL after two failures. Clearing the history after each change is deliberate. Without it, the same three successes would count toward the next fade as well, and support would vanish too fast.
Fade one aid at a time
If a level removes the trajectory line, the slow enemies, and the checkpoint at once, a player who fails cannot tell which removal caused it. Neither can you when you read the playtest notes. Remove aids in separate steps, ordered from the one that affects the player's understanding least to the one that affects it most.
A workable order for most action games:
- Remove explicit text and prompts first. The player has already acted on them.
- Remove always-on visual aids, or make them appear only on request.
- Reduce mechanical forgiveness, such as hit windows and enemy speed.
- Raise the cost of failure, such as checkpoint distance or lost resources.
This order follows the rule that the player should lose the aid they rely on least first.
Adaptive support and hidden adjustment
Some games adjust difficulty without telling the player. This is often called dynamic difficulty adjustment. It can work well for scaffolding because the player sees no "easy mode" label, but it carries risks.
- Players notice. If a player discovers the game went easy on them, the win feels smaller. Adjust support that the player would read as part of the world, such as an extra health pickup, not support that reads as a handout.
- Players exploit it. Someone who learns that failing makes the game easier can fail on purpose. Keep adjustment small and slow.
- Oscillation. Support that switches on and off every few seconds feels erratic. The window and the clearing of history in the code above prevent this.
Common errors
- Fading by level number. Covered above. Use evidence.
- Removing the aid with no signal. The player should be able to tell that something changed. A short cue, such as the marker flickering once before it disappears, keeps the change fair.
- Practicing only with the aid on. The player never shows they can succeed without it. Include a moment, even a low-stakes one, where the aid is absent.
- Fading everything the same way. A map overlay and a jump marker are different kinds of aid. Some aids, like colorblind-safe markers or subtitles, should never fade at all. Accessibility support is not scaffolding and belongs to the player's settings, covered in a later chapter.
- No way back. If the player is stuck after support is gone, a good system offers it again, which links to the hint systems described in the next chapter.
Checking that fading worked
Fading has succeeded when the player performs the skill without the aid and without noticing the removal. You can check this in two ways.
In playtests, watch for the moment support disappears. A player who pauses, looks around, or fails repeatedly right after a removal is telling you the step was too large. A player who keeps playing smoothly is telling you it worked.
In funnel data, compare failure rates just before and just after a fade point. A sharp rise means the fade was too early or too large. This analysis is covered in the metrics chapter.
Exercise
A platformer shows a glowing landing marker under the player's jump for the first four levels, then removes it in level 5 for everyone. Analytics show many players quit in level 5. Name the design error and describe a better trigger for removing the marker.
Show answer
The marker is faded by level number, so it assumes all players have mastered jumping by level 5. A better design fades it on evidence, for example after the player lands three jumps in a row, or lands jumps before the marker appears. It should also return if the player fails the same jump twice, and the removal should be signaled with a short cue so the change is not abrupt.
Exercise
In the FadingScaffold code, what would go wrong if self.recent.clear() were removed from _step?
Show answer
The deque would still contain the successes that triggered the fade. After one level change, the next successful attempt could fill the window with all-True entries again, so support would fade a second time after a single new success. Players would lose support faster than the evidence justifies, and restoring after failures would also use stale results.