Sub topic 7
Feedback that explains cause and effect
This chapter assumes you have read the previous chapter on affordances and signifiers. A signifier tells the player what they can do. Feedback tells them what happened after they did it. You should be comfortable with the idea of a core loop (act, get a result, decide again). The code examples use TypeScript, but the design ideas apply to any engine.
What feedback has to do in a tutorial
In a tutorial the player is building a mental model of your game's rules. Every action they take is a small experiment, and feedback is the result they read. If the result is missing, late, or ambiguous, they either learn the wrong rule or learn nothing.
Good feedback in an onboarding context does three jobs:
- Confirms the action registered. The player knows the game received their input.
- Shows the outcome. The player sees what changed in the world.
- Links the two. The player can tell that their action caused the outcome, and which part of the action mattered.
Many games do the first two and skip the third. A screen flash when the player takes damage confirms that something happened. It does not say what hit them, from where, or what they could have done differently. In the first few minutes, that missing link is the difference between "I learned to dodge" and "this game is unfair."
Immediacy and proximity
Players connect two events as cause and effect when the second follows the first closely in time and happens near it in space. You can use both.
- Time. Respond to input within a few frames. A common rule of thumb is that responses under about 100 ms feel instant, and delays beyond a few hundred milliseconds start to feel disconnected from the input. Treat these as targets to test, not laws.
- Space. Put the feedback where the player is already looking. A score change in a screen corner is easy to miss during action. A number floating up from the enemy you just hit is hard to miss.
Delayed consequences are a legitimate design tool later, for example a trap that triggers after a pause. In onboarding, though, introduce the rule with immediate feedback first. Once the player knows the rule, you can stretch the delay.
Layer the channels
A single cue is fragile. Players with the sound off, a color-vision difference, or their eyes on another part of the screen will miss it. Give important events more than one channel.
| Channel | Good for | Failure mode |
|---|---|---|
| Visual (animation, particles, color) | Showing what changed and where | Missed when attention is elsewhere; color alone excludes some players |
| Audio | Confirming actions, signaling off-screen events | Missed with sound off; easily becomes noise |
| Haptic (vibration) | Impact and success on controllers and phones | Unavailable on many platforms; tiring if overused |
| Text or icon | Explaining a rule or a failure reason | Interrupts play; players skip it |
For a core action, such as a successful jump, you usually want at least two channels that agree. Make the cue type consistent too. If a hit always produces the same sound and flash, the player learns to read that signal without thinking. If every enemy has a different hit effect, they have to relearn it.
Make the outcome say why
The most useful piece of feedback in a tutorial is the one that follows a failure. Compare two responses to the same event, a player falling into a pit:
- The screen fades to black and the level restarts.
- The character's animation shows a late takeoff from the ledge, the camera holds on the gap for a moment, and a short line says "Jump before the edge."
The first tells the player they failed. The second tells them the cause. You do not need text every time. Often the cause can be shown, for example by slowing time on the moment of impact or by highlighting the enemy that hit you. Use text when the cause cannot be seen in the world, such as "Shield blocks only attacks from the front."
To build this, your game logic has to record why something happened and not only that it happened. A bare playerDied event cannot produce an explanation. An event with a cause can.
type Cue = {
visual: string;
audio: string;
haptic?: number; // vibration length in ms
caption?: string; // shown only when the cause is not visible in the world
};
type Outcome =
| { kind: 'jump_cleared'; gapWidth: number }
| { kind: 'fell'; cause: 'jumped_late' | 'did_not_jump' }
| { kind: 'hit'; source: string };
function cueFor(outcome: Outcome): Cue {
switch (outcome.kind) {
case 'jump_cleared':
return { visual: 'dust_burst_on_landing', audio: 'land_soft', haptic: 20 };
case 'fell':
return outcome.cause === 'jumped_late'
? {
visual: 'slow_motion_on_ledge',
audio: 'fall_whoosh',
caption: 'You jumped after the edge. Jump sooner.',
}
: {
visual: 'camera_holds_on_gap',
audio: 'fall_whoosh',
caption: 'There is a gap here. Press Space to jump.',
};
case 'hit':
return {
visual: `highlight_${outcome.source}`,
audio: 'hit_thud',
haptic: 60,
};
}
}
console.log(cueFor({ kind: 'fell', cause: 'jumped_late' }));
console.log(cueFor({ kind: 'hit', source: 'spike' }));The key design choice is in the Outcome type. The game's simulation must tell the feedback layer which cause applied, so the physics or rules code has to detect "jumped late" and not only "fell." That detection costs some engineering, but it makes the explanation specific instead of generic.
The feedback loop in time
The diagram below shows the sequence for one action. The explanation step is the one many tutorials leave out.
Common errors
Feedback that is too loud. Shake, flash, and particles on every event teach the player to ignore all of them. Scale intensity to importance. A footstep and a boss kill should not look alike.
Ambiguous attribution. Two things happen at once, such as the player attacking while a trap fires, and the player credits the wrong one. Space out new mechanics in the tutorial so each cause stands alone, as the previous chapter on teaching one idea at a time recommends.
Feedback only on success. Players learn quickly from success but often learn more from a failure that is explained. Design both paths.
Text that blocks play. A modal message after every failure turns a quick retry into a chore. Keep explanations short, put them in the world when possible, and stop showing them once the player has demonstrated the skill. That fading is the subject of the next chapter on scaffolding.
Relying on one channel. Color-only or sound-only cues fail for part of your audience. This is an accessibility issue, and a later chapter covers it in more detail.
No feedback for "nothing happened." If the player presses a button that is currently disabled, silence reads as a bug. A small "denied" sound and a short animation tell them the game heard them and the action is not available right now.
Checking that your feedback works
You can verify feedback during playtests without asking players to explain themselves. Watch for these signals:
- The player repeats a failed action in exactly the same way. They did not get the cause.
- The player pauses after a result and looks around. The feedback was not where they were looking.
- The player blames the game ("that didn't work"). Attribution is unclear, or the action was never confirmed.
- The player fixes their approach after one failure. The explanation worked.
Later chapters on playtesting and funnel data cover how to turn these observations into measurements. For now, the practical habit is to log the cause with every failure event. If many players fail at the same step with jumped_late, you know which explanation to improve.
Summary of design rules
- Confirm every input quickly, near where the player is looking.
- Show the outcome in the world, not only in the interface.
- Record the cause in your game logic so failures can be explained specifically.
- Use at least two agreeing channels for core actions.
- Match intensity to importance, and keep cues consistent.
- Explain failures briefly, then withdraw the explanation as skill grows.
Exercise
A player in your tutorial walks into a laser and the game shows a red screen flash and restarts the level. Players keep walking into the same laser. Name two changes that would explain cause and effect, and say what the game code must record to support them.
Show answer
Possible changes: highlight or pulse the laser that hit the player and hold the camera on it for a moment, and add a short caption such as "Lasers hurt. Wait for the gap in the beam." Also add a channel beyond color, such as a hit sound or controller vibration, and place the cue at the point of contact. To support this, the game must record the cause of the failure, such as the hazard's identity (source: 'laser_2') and the position of contact, in the death event instead of emitting a bare playerDied. The feedback layer then uses that data to choose the highlight and the caption.