Sub topic 5
Designing Difficulty Presets
Prerequisites and purpose
Assume you understand a game's core loop, levels, and common challenge types. You should also be comfortable reading simple TypeScript data structures and functions.
A difficulty preset is a named bundle of gameplay values. A player selects one option, and the game applies all values in that bundle. Presets reduce decision-making while still giving you control over the challenge curve.
A good preset should answer three questions:
- What kind of experience does it provide?
- Which gameplay variables does it change?
- What does it leave unchanged?
Avoid treating a preset as a label for player skill. “Hard” may describe the game's behavior, but it does not describe the player. Names such as Story, Standard, and Expert are often clearer and less judgmental.
Choose the levers deliberately
Difficulty is rarely one number. It is a collection of levers, or parameters that change the player's risk, effort, or available information.
| Lever | Lower-challenge direction | Higher-challenge direction |
|---|---|---|
| Enemy damage | Enemies deal less damage | Enemies deal more damage |
| Enemy health | Enemies need fewer hits | Enemies need more hits |
| Checkpoints | Save progress more often | Save progress less often |
| Aim assistance | Help align attacks | Require more precise aiming |
| Retry rules | Allow unlimited retries | Limit retries or resources |
Do not change every lever in every preset. A player may want stronger enemies but frequent checkpoints. If one preset changes damage, health, resources, enemy behavior, and level layout at once, it becomes difficult to explain and test.
Keep changes within a range that preserves the game's identity. For example, doubling enemy health may turn a fast combat game into a slow one. A smaller increase may create tension without changing the intended rhythm.
Model presets as data
Store preset values in one data model. This lets menus, save files, telemetry, and gameplay systems use the same names and values.
interface DifficultySettings {
enemyDamageMultiplier: number;
enemyHealthMultiplier: number;
aimAssistStrength: number; // 0 (off) to 1 (strong)
checkpointFrequency: 'sparse' | 'normal' | 'frequent';
infiniteRetries: boolean;
}
type PresetName = 'story' | 'normal' | 'hard';
const PRESETS: Record<PresetName, DifficultySettings> = {
story: {
enemyDamageMultiplier: 0.5,
enemyHealthMultiplier: 0.75,
aimAssistStrength: 0.8,
checkpointFrequency: 'frequent',
infiniteRetries: true,
},
normal: {
enemyDamageMultiplier: 1,
enemyHealthMultiplier: 1,
aimAssistStrength: 0.4,
checkpointFrequency: 'normal',
infiniteRetries: false,
},
hard: {
enemyDamageMultiplier: 1.5,
enemyHealthMultiplier: 1.25,
aimAssistStrength: 0,
checkpointFrequency: 'sparse',
infiniteRetries: false,
},
};
function resolveSettings(
preset: PresetName,
overrides: Partial<DifficultySettings> = {},
): DifficultySettings {
return { ...PRESETS[preset], ...overrides };
}
const settings = resolveSettings('normal', {
checkpointFrequency: 'frequent',
});
console.log(settings);Partial<DifficultySettings> means an override can provide only some fields. The spread operation first copies the preset, then replaces any supplied values. This creates a predictable composition model.
Validate the experience, not only the numbers
Playtest each preset from the beginning of the game. A preset that feels fair in one level may become exhausting later. Record where players fail, how long encounters last, how often they retry, and whether they understand why they failed.
Compare presets by intended experience:
- Story should reduce punishment and support forward progress.
- Normal should represent the baseline encounter design.
- Hard should demand more accuracy, planning, or resource control.
- Each preset should remain playable without hidden knowledge.
Use descriptions that explain effects instead of making claims about the player. “Enemies deal more damage and checkpoints are less frequent” is more useful than “For skilled players.”
Exercise
A player wants stronger enemies but frequent checkpoints. How should you support this request?
Show answer
Provide a granular checkpoint override, or create a separate preset only if the combination represents a common, tested experience.