Sub topic 3
Find the Core Loop You Need to Teach
Assume you understand a game's core loop at an introductory level and can read simple code. This chapter shows how to turn that loop into a teaching sequence for onboarding.
Start with the repeated player action
A core loop is the short cycle of actions that produces progress and invites the player to repeat it. In a platform game, the loop might be:
- Read the space.
- Move or jump.
- Avoid danger.
- Reach a safe point.
- Use the new position to plan the next move.
Players do not need to learn every system before they can enjoy this loop. They need to learn the actions that make the loop work and the feedback that confirms each action.
Begin by writing the loop without naming interface elements. “Press the jump button” is an input. “Cross a gap by choosing when to jump” is a skill. Onboarding should teach the skill.
Separate the loop into teachable decisions
List the decisions the player makes, then order them by dependency. A player usually needs to understand movement before aiming, aiming before attacking, and attacking before combining attacks with movement.
| Loop part | Player skill | Evidence of learning |
|---|---|---|
| Approach a gap | Control movement | The player reaches the gap without stopping |
| Cross the gap | Choose jump timing | The player lands safely |
| Meet an enemy | Recognize a threat | The player changes behavior |
| Attack | Aim and activate the attack | The enemy takes damage |
| Continue | Combine movement and attack | The player completes the encounter |
The first lesson should isolate one decision. Remove distractions, punishment, and competing controls. Once the player succeeds, add a small variation. This tests whether the player learned a rule rather than memorized a path.
type GameEvent =
| { type: "moved"; distance: number }
| { type: "jumped"; landedSafely: boolean }
| { type: "enemy_defeated" };
type Lesson = {
name: string;
completesWith: (event: GameEvent) => boolean;
};
const lessons: Lesson[] = [
{
name: "cross a gap",
completesWith: (event) =>
event.type === "jumped" && event.landedSafely,
},
{
name: "defeat an enemy",
completesWith: (event) => event.type === "enemy_defeated",
},
];
function advanceLesson(
current: number,
event: GameEvent,
): number {
const lesson = lessons[current];
if (!lesson || !lesson.completesWith(event)) return current;
return Math.min(current + 1, lessons.length);
}
let currentLesson = 0;
currentLesson = advanceLesson(currentLesson, {
type: "jumped",
landedSafely: true,
});
console.log(lessons[currentLesson].name);The completion event should represent the player's action in the game. A message such as “Press Space” does not prove that the player can jump across a gap.
Check the loop against the game
Avoid common errors
- Teaching controls instead of decisions. Knowing a button is not the same as knowing when to use it.
- Introducing several mechanics at once. When the player fails, neither the player nor the designer can identify the cause.
- Making the tutorial route a puzzle with one exact solution. Players may memorize the route instead of learning the system.
- Measuring completion by message dismissal. Measure gameplay events, retries, and successful independent actions.
- Ending before the loop is combined. Test each skill alone, then ask the player to use them together.
Exercise
A tutorial teaches movement, attacking, and dodging in one arena. Players finish the arena but fail the first normal encounter. What should you inspect first?
Show answer
Inspect whether the tutorial isolated and practiced the decisions in the real core loop. Completion may show that players followed prompts, not that they learned when to combine movement, attacks, and dodges.