Sub topic 9
Scaffolding That Fades
Assume you understand a game's core loop and can read basic TypeScript. Scaffolding is temporary support that helps a player perform a new action. Fading is the planned removal of that support as the player becomes more capable. Good scaffolding prevents confusion without turning the game into a sequence of instructions.
Give Support Before Removing It
A new mechanic usually needs several supports at once:
- A signifier shows what the player can do.
- A safe situation makes the action low-risk.
- Feedback shows whether the action worked.
- A hint or restriction directs attention to the mechanic.
Remove these supports one at a time. If you remove everything together, a player may fail without knowing why.
For example, a platform game might teach jumping in this order:
- Place a small gap with no enemies.
- Show a character animation or button prompt.
- Let the player jump with forgiving timing.
- Repeat the jump with a slightly wider gap.
- Remove the button prompt.
- Add an obstacle that requires the same skill.
- Return control to the normal game.
The player first learns the action, then recognizes when it matters. The game should not keep displaying “Press Space” after the player has demonstrated reliable jumping.
Choose a Fading Signal
Use observable behavior to decide when support can fade. A single success may be accidental. Better signals include repeated success, quick execution, or success in a changed context.
For example, hide a movement prompt after the player has completed three jumps without assistance. If the player struggles later, show a contextual hint again. Fading should be reversible because learning is not always linear.
A tutorial controller can separate completion from hint timing:
type GameEvent = { type: string; [key: string]: unknown };
type TutorialStep = {
id: string;
isComplete: (event: GameEvent) => boolean;
hints: string[];
};
class TutorialRunner {
private index = 0;
private hintLevel = 0;
private idleMs = 0;
constructor(
private steps: TutorialStep[],
private hintAfterMs = 8000,
) {}
get current(): TutorialStep | undefined {
return this.steps[this.index];
}
onEvent(event: GameEvent): void {
const step = this.current;
if (step && step.isComplete(event)) {
this.index += 1;
this.hintLevel = 0;
this.idleMs = 0;
}
}
tick(dtMs: number): string | null {
const step = this.current;
if (!step) return null;
this.idleMs += dtMs;
if (this.idleMs < this.hintAfterMs) return null;
this.idleMs = 0;
if (step.hints.length === 0) return null;
const hint = step.hints[Math.min(this.hintLevel, step.hints.length - 1)];
this.hintLevel += 1;
return hint;
}
}
const runner = new TutorialRunner([
{
id: "jump",
isComplete: (event) => event.type === "jumped",
hints: [
"Something is blocking the path.",
"Try jumping over the gap.",
"Press Space to jump."
]
}
]);
runner.onEvent({ type: "jumped" });
console.log(runner.current);The step advances when the player performs the action, not when a message disappears. The hints escalate from observation to a direct instruction, and the idle timer resets after each hint.
Avoid Common Fading Errors
Removing help too early creates abandonment. Removing it too late creates dependence and interrupts play. Also avoid using time alone as the removal rule. A fast player may need no hint, while a distracted player may need one after the same number of seconds.
Test each transition:
- Can players act without the prompt?
- Do they understand why the mechanic matters?
- Does the mechanic remain readable after visual support disappears?
- Can a struggling player recover without restarting?
Exercise
A player succeeds once with a button prompt, then fails when the prompt disappears. What should you change first?
Show answer
Keep the prompt through several successful attempts or fade it gradually, then test whether the player can repeat the action in a slightly different context.