Horror games built on atmosphere, suspense and dread. Pacing tension and release, limited visibility (darkness, flashlight, fog, low resolution), sound design (ambience, silence, positional cues), threats that are heard before they're seen, chase and hide mechanics, limited resources, sanity or fear meters, jump scares used sparingly, unreliable environments, PS1 and lo-fi styles, content warni...
Download skill (.zip) Files on GitHubHorror game development
Core: the fear of what might happen. Anticipation is scarier than the monster.
Starter template
A playable starter for the game-scaffolding template is in assets/starter/. Darkness with a flashlight cone and a battery, a stalker that wanders, hears footsteps (running is loud), sees you, chases, then searches your last known spot, lockers to hide in, fuses to find, an exit, and a heartbeat that speeds up as it nears.
python3 <game-scaffolding>/scripts/scaffold.py my-game --title "My Game" --starter <this skill>/assets/starter
Controls: WASD, Shift runs, Space hides, F toggles the light. Touch: stick (push far to run) plus buttons. Esc pauses. All numbers to tune are in src/config.js; the gameplay is in src/scenes/play.js.
Sight, chase, hiding, fuses and escape were tested.
Tools of tension
| Tool | How |
|---|---|
| Limited sight | Darkness + a flashlight cone (game-lighting SpotLight in 3D, LightMap with a cone polygon in 2D), fog, low-res (ps1-retro-graphics) |
| Sound | Constant low ambience, sudden silence, footsteps behind you, positional cues (stereo pan by angle: game-sound-design) |
| Vulnerability | Weak or no combat; hiding spots; limited batteries, matches, saves |
| Unpredictability | Patrols with randomness, scripted events triggered by progress, not timers |
| The unknown | Show the threat partially (silhouette, a shadow, a sound) long before clearly |
Pacing (tension curve)
Calm exploration → unease (sounds, small wrongness) → threat signs → peak (chase, encounter) → release (safe room, music) → repeat, each cycle a bit higher. Safe rooms with a save point and warm light are part of the horror (contrast).
Growing the starter
- 3D: game-kit-3d / threejs + ps1-retro-graphics + fog + a flashlight. 2D: top-down with LightMap darkness and visibility shadows.
- A stalker AI (enemy-ai FSM: wander → hear (noise events within radius) → investigate → chase → search the last seen spot → wander).
- Hiding: lockers/under beds break line of sight; holding breath (a short timer) adds tension.
- Objective chain (find key → fuse → exit) with quest-system; notes and environmental storytelling.
- One or two jump scares at most, earned by a long build-up.
Comfort and respect
Content warning on the title screen, a “reduce jump scares / flashing” option, volume controls, no strobing faster than 3 Hz, and a pause that works anywhere. Keep it playable on dim phone screens (test brightness in the viewer’s preview).
Pitfalls
Constant jump scares (numbing), a monster that’s visible too much (less scary each time), darkness so dark it’s unplayable, unfair instant deaths without warning, and silence with no ambience (feels broken, not scary).