Sub topic 3
Scaffolding that fades
You should know what a game's core loop is and have some Python 3.10+ experience for the code. Scaffolding is temporary support that helps a player perform a skill they do not yet have. Fading means you reduce that support as the player improves. A level that guides the first attempt should give less help by the third, and little or none by the fifth.
Hints that arrive when they are needed
A hint should appear only after the player has been idle for a set time. Hints should start subtle and become explicit. Reset the escalation after each success.
HINTS = [
"Something is blocking the path.",
"Try jumping over the gap.",
"Press Space to jump.",
]
def next_hint(idle_seconds: float, level: int, threshold: float = 8.0) -> tuple[str | None, int]:
if idle_seconds < threshold:
return None, level
return HINTS[min(level, len(HINTS) - 1)], level + 1
print(next_hint(9.0, 0)) # ('Something is blocking the path.', 1)Skipping, replaying, and optional learning
Let players skip a tutorial, replay any lesson, and open optional help. A skip option respects players who already know the genre. Replay lets a player return to a lesson they forgot. Optional learning keeps the core path short.
Pacing the difficulty curve
Each lesson should add one idea and then raise the challenge slightly. Support should fall as difficulty rises.
| Stage | Support | Challenge |
|---|---|---|
| Introduce | Guided, visual cue | Very low |
| Practice | Hint on idle | Low to medium |
| Twist | Hint on failure only | Medium |
Making onboarding accessible
Do not rely on color, sound, or small text as the only signal. Offer adjustable text size, captions, and a control remapping option. Test each hint with a screen reader and with reduced motion enabled.
Playtesting your onboarding
Watch new players without speaking. Note where they pause, where they repeat a mistake, and where they open help. Ask them what they think the goal was after each stage.
Reading funnel data and iterating
A funnel shows how many players reach each step. The drop-off rate for a step is the share of players who reached the previous step but not this one.
| Step | Reached | Drop-off from previous |
|---|---|---|
| Move | 1000 | n/a |
| Jump | 940 | 6.0% |
| Attack | 700 | 25.5% |
| First level done | 650 | 7.1% |
The attack step loses the most players, so it is the first place to revise.
callout note
Remove support in small steps. Removing all of it at once takes away a skill the player has not yet learned.Exercise
A player fails the jump three times in a row without the idle timeout firing. What should the system do, and why?
Show answer
Nothing changes yet. The hint is triggered by idle time, not by failure count, so the system should wait for the idle threshold before it shows the next hint.