17 lines
1.2 KiB
Markdown
17 lines
1.2 KiB
Markdown
Implement PHASE 5 ONLY (polish + audio + achievements + win/lose). Preserve everything.
|
|
- Web Audio API procedural sounds (hit, possess, death, pickup, explosion) via simple
|
|
oscillators — no audio files. Guard if AudioContext is unavailable/mock.
|
|
- Game feel: screen shake on explosions/big hits, particles on death/possession/essence
|
|
pickup, hit flash (white ~100ms), smooth movement interpolation (150ms ease). NONE of
|
|
this may break the deterministic tick.
|
|
- All 8 achievements, tracked in G.achievements and localStorage: First Possession,
|
|
Body Hopper (5 different enemy types one run), Pacifist Ghost (reach floor 3 with no
|
|
host damage), Essence Hoarder (>=30), Deep Diver (floor 7), Escape Artist (win),
|
|
Bomberman (3 kills in one Bomber blast), Dual Wield (unlock Body T3).
|
|
- Win state: reach the floor-10 exit -> state 'won' victory screen.
|
|
- Lose state: ghost timer hits 0 -> state 'lost' with run stats.
|
|
- Pause menu (ESC) with Save + Quit, controls, and the bestiary reachable from it.
|
|
- Complete contextual controls on title, HUD, shop, and pause screens.
|
|
Finish by running: for i in 1 2 3 4 5; do node verify.js $i || break; done (all 0),
|
|
and mentally stress a 200-tick session (the harness does this for you).
|