Sub topic 11
Letting Players Change Settings Mid-Game
This chapter assumes you understand a game loop, checkpoints, and basic data structures and functions. It focuses on the working model for changing difficulty and assist settings during play, plus common errors that make changes confusing or unsafe.
Why mid-game changes need a policy
A player may discover that a setting is wrong only after playing for several minutes. They may have chosen a difficult preset before understanding the game, or a temporary injury may make a control harder to use. Requiring a new game to change the setting adds avoidable friction.
A mid-game setting change should answer three questions:
- When does the change take effect? Immediately, at the next room, or after the next checkpoint?
- What does it affect? Existing enemies, newly created enemies, damage calculations, controls, or only future levels?
- What does the player keep? Progress, rewards, records, and achievements may have different rules.
Treat these decisions as part of the game design, not only as menu behavior. A setting that changes enemy health immediately can invalidate a carefully balanced encounter. A setting that changes only future encounters is more predictable but may leave the player stuck in a difficult situation.
Separate immediate and checkpoint-safe changes
A useful model divides settings into scopes.
| Scope | Example | Recommended effect |
|---|---|---|
| Immediate | Aim assist, subtitles, input remapping | Apply as soon as the player confirms |
| Encounter boundary | Enemy damage, enemy health, puzzle hints | Apply to newly started encounters |
| Checkpoint or level | Retry count, checkpoint frequency | Apply when the next checkpoint or level begins |
| Session or profile | Leaderboard eligibility, competitive rules | Apply only after leaving the current session |
The user interface should state the scope. “Applies to the next encounter” is clearer than silently delaying a change.
Here is a small TypeScript model that applies changes according to their scope:
type Scope = "immediate" | "encounter" | "checkpoint";
interface Settings {
aimAssist: number;
enemyDamageMultiplier: number;
hintLevel: "off" | "subtle" | "full";
checkpointFrequency: "sparse" | "normal" | "frequent";
}
interface PendingChange {
key: keyof Settings;
value: Settings[keyof Settings];
scope: Scope;
}
class GameSettings {
private active: Settings;
private pending: PendingChange[] = [];
constructor(initial: Settings) {
this.active = { ...initial };
}
requestChange(change: PendingChange): string {
if (change.scope === "immediate") {
this.apply(change);
return `${change.key} changed now`;
}
this.pending.push(change);
return `${change.key} will change at the next ${change.scope}`;
}
beginEncounter(): void {
this.applyPending("encounter");
}
reachCheckpoint(): void {
this.applyPending("encounter");
this.applyPending("checkpoint");
}
get(): Settings {
return { ...this.active };
}
private applyPending(scope: Scope): void {
const remaining: PendingChange[] = [];
for (const change of this.pending) {
if (change.scope === scope) {
this.apply(change);
} else {
remaining.push(change);
}
}
this.pending = remaining;
}
private apply(change: PendingChange): void {
this.active[change.key] = change.value as never;
}
}
const settings = new GameSettings({
aimAssist: 0.4,
enemyDamageMultiplier: 1,
hintLevel: "subtle",
checkpointFrequency: "normal",
});
console.log(settings.requestChange({
key: "aimAssist",
value: 0.8,
scope: "immediate",
}));
console.log(settings.requestChange({
key: "enemyDamageMultiplier",
value: 0.75,
scope: "encounter",
}));
settings.beginEncounter();
console.log(settings.get());The pending queue makes delayed behavior explicit. In a production game, store the setting change with the current run or save slot so loading a game cannot accidentally apply a change to the wrong session.
Communicate consequences
Before confirmation, show the consequence in plain language:
- “Aim assist will apply immediately.”
- “Lower enemy damage will apply when the next encounter starts.”
- “Changing this option disables leaderboard eligibility for this run.”
Avoid silently changing the player’s current challenge. Also preserve the change when the player dies, unless the setting belongs only to a temporary attempt.
Common errors
| Error | Result | Better approach |
|---|---|---|
| Applying every change immediately | Encounters behave inconsistently | Define scopes |
| Applying every change only after restart | Players cannot recover from a bad choice | Allow safe immediate changes |
| Hiding delayed effects | Players think the option failed | Show timing and confirmation |
| Recalculating old rewards | Progress may become unfair or confusing | Define reward rules before release |
| Resetting settings on death | Players lose control of their experience | Persist settings by run or profile |
Exercise
You are designing a single-player action game. Aim assist should apply immediately, enemy damage should apply at the next encounter, and checkpoint frequency should apply at the next checkpoint. What should happen if the player changes all three settings during combat?
Show answer
Apply aim assist immediately. Queue the enemy damage change until the current encounter ends. Queue checkpoint frequency until the next checkpoint. Show all three statuses so the player knows which changes are active and which are pending.