cntrl/docs/ROADMAP.md
dandovlatov a64890860e FBC: NIGHT SHIFT - projector-screen blackout ritual
Walk into the Projector Room screen to enter a black room with 20 ringing
red-phone tables. Sweep all phones, then step into the yellow-roofed glass
case to restore the lights and claim the FLUORESCENT Light Switch skill.

- Blender: phone_table, case_frame and case_glass GLBs + reproducible
  build_blackout_props.py, concept lineup and source .blend
- Sim: BlackoutSequence state machine, Game ownership, spawn freeze during
  the pocket, FLUORESCENT active skill with unlock flag and buff effect
- Render: uAlpha glass blending, three ActorModels, blackout camera/pass,
  event VFX, HUD progress card and third skill stamp
- Dev flags: --blackout-test, --blackout-auto, --blackout-reveal
- Tests: headless blackout chain/claim test (8/8 CTest pass)
- Docs: BLACKOUT_RITUAL.md plus design/roadmap/art/README updates
2026-11-24 23:33:46 +04:00

55 lines
4.8 KiB
Markdown

# FBC: NIGHT SHIFT — Roadmap
## Milestones
| # | Deliverable | Acceptance criteria | Status |
|---|---|---|---|
| M0 | Scaffold: CMake + raylib 6.2, window, states, input, fixed tick | Builds; window opens; quits clean | **DONE** |
| M1 | Grey-box vertical slice: move, dash, 1 auto-weapon, 3 enemy types, XP -> level-up (offers roll at thresholds, no pick, §2.2), corruption clock, death screen | *Fun for 60 seconds with placeholder art* | **DONE** |
| M2 | Horde foundation: pooling, spatial hash, credit-based Director (+ too-cheap rule), OoP weapons (4), evolutions, damage numbers | 250+ enemies at 60 fps; RoR2 spawn feel | **DONE** - 250 enemies @ 60 fps verified via --bot --no-damage stress capture; 4 OoPs with levels 1-4 + Altered Forms, director bank + burst behavior in HUD |
| M3 | Floors & OoP rituals: room-template assembly, keys/threshold doors, ritual quest flow (reach -> complete -> claim skill), simple TV ritual MVP (reach TV -> wait 60 s -> TV live), complex lightswitch ritual (§2.3 of GAME_DESIGN.md: magnet-catch bait near the switch -> revival + Fluorescent Light reward), Oceanview shop, 1 boss + boss door | Full 3-floor run start -> finish | **PARTIAL** — Floor 01 blockout, room collision, key -> door loop, the Projector ritual -> permanent skill and the projector-screen blackout (20 phones -> glass case -> Light Switch OoP) are playable; other six floors, Oceanview shop and bosses outstanding |
| M4 | Debuffs & Buffs — scene-wide ECS-like system (components, durations, duration bars); player buff examples (damage amp, speed, regen, armor); elite debuff batteries (Resonant, Phasing, Shielded, Mending, Volatile); **world objects of power — SCP-like items on the scene (spawn: enemy deaths + scatter, magnet catch applies — player or nearest enemy, player+enemy channel debuffs — Unidentified)** | Distinct debuff/buff identities per enemy class | |
| M5 | Enemy components & elites: T1/T2 affixs, Taken/Elevated/Cluster/Host variants | Soft groups of elites; elite reads distinct | |
| M6 | Art/audio pass: brutalist floor kit, standee art, corruption-driven shaders/audio/env decay, OFL fonts (Archivo, IBM Plex Mono), SFX | Looks like Control; plays 20 min without repetition | |
| M7 | Gamepad/stick + real-time skill offers + difficulty modes + meta progression (Panopticon) | Stick moves, real-time offers (no pause), TRAINING / FIELD DUTY / DIRECTOR'S GAUNTLET | |
| M8 | Graphics settings menu — texture filtering (Trilinear / Aniso 4x / **8x**), bloom quality, render scale, Hiss detail; wired to `gfx::graphics_settings()` + `Presenter::apply_graphics_settings()` | Options apply at runtime without restart; safe defaults on the integrated GPU | **PLUMBED** — settings struct, runtime reapply hook and `--aniso 0\|4\|8` CLI flag exist (M0 perf work); only the menu UI is outstanding |
## M1 detail (current slice)
- Player: WASD move, Shift/Space dash (Evade), contact-damage i-frame per enemy.
- Weapon: Service Weapon: Spin — auto-targets nearest, projectile with pierce stat.
- Enemies: Hiss Corrupted Staff (basic), Mold Spore (fast), Hiss Brute (tanky).
- XP shards with magnet; level-up offers roll when XP crosses a threshold and
apply in real time after a brief idle window (no pause — RoR2 intrinsics style).
- Corruption coefficient + tier ladder + enemy stat scaling + spawn-rate scaling +
floor-jump on threshold-key take;
CONTAINMENT STATUS gauge + run timer on HUD.
- Contact hits carry a 0.5 s global i-frame (swarm burst protection).
- Death screen with run stats; R restarts.
- Dev tools: `--bot` kiting autopilot (M6 balance-bot seed), `--screenshot`,
`--seed`, F12.
- Placeholder presentation: soft-disc billboards on a brutalist grey-box diorama.
## Known risks & mitigations
- **Pacing is the genre.** Spawn/power curves are tunable data from M2 on; bot runs
for telemetry (M6).
- **Floor generation scope creep.** Handcrafted room templates + random assembly
(Spelunky-style), not roguelike procgen.
- **Content treadmill.** Evolutions double each OoP's design life; 10 OoPs x 8
passives already yields deep build space.
- **Horde perf.** Pooling + spatial hash (M2); billboards batch as quads in rlgl.
Concrete uses world-aligned UVs (3 fetches, not 9 triplanar); texture filtering
is a graphics option (M8) — default trilinear, 4x/8x aniso via `--aniso 4|8`.
## Ideas parking lot (not scheduled)
- esseJ mirror boss actually copying the player's build.
- Ashtray Maze floor: board reshuffles rooms while you fight.
- Daily seeded Shift (trivial once deterministic).
- GLTF boss puppets (the Former's hand sweeping lanes).
- Hotline radio call-ins as a consumable.
- "Containment Rating" leaderboards per seed.
- First-person moments, just for the hell of it: a few short playable vignettes
(threshold-door peeks, a Hotline call, an OoP chamber) from a ground-level
camera, cut back to the tactical view for combat.