cntrl/README.md
dandovlatov db0fd64f39 FBC: NIGHT SHIFT - S5: wired sprites, the diorama scene and corruption post FX into the game
- render/presenter.cpp: loads assets/sprites/*.png (guard, hiss_staff, hiss_brute,\n  mold_spore, shard, glow) as DrawBillboardRec standees at card aspect; hit-flash\n  tint; missing art degrades to the soft-disc standee.\n- presenter scene dressing: polished-concrete palette (#2b2b2f), red carpet\n  runners, pillar red bands, threshold door with Hiss glow + hazard stripes,\n  EXIT signs, curb light strip, painted walkway lines.\n- assets/shaders/post_fx.fs (new): corruption-keyed VHS scanlines/noise, chromatic\n  aberration, red Hiss tint, vignette, damage flash.\n- main.cpp: frame renders to RenderTexture then the post shader blits it; uniforms\n  fed from game.corruption.value() + presenter.damage_flash().\n- Validated via --bot --screenshot: sprite orientation correct, post FX active\n  and scaling with corruption, red-dominant 18%, clip 0.1%.
2026-10-24 11:19:37 +04:00

59 lines
2.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# FBC: NIGHT SHIFT
A Control-universe horde-survivor (Vampire Survivors-like) built in C++23 + raylib 6.2.
You are an FBC security guard the night of the Hiss breach — hours before Jesse Faden
becomes Director. Move, and everything else is automatic: your Objects of Power fire on
their own while the Oldest House decays around you in real time.
**Signature mechanic:** fight an Object of Power's trial — survive it, and it becomes
your permanent skill for the run (Mega Man structure, Control skin).
**Difficulty:** Risk of Rain 2-style continuous *Corruption* scaling — the clock is the
enemy. See `docs/GAME_DESIGN.md`.
## Status
Pre-alpha grey-box (Milestone M1): the vertical slice is playable — movement, one
auto-weapon (Service Weapon: Spin), 3 enemy types, XP -> Board Directive level-ups,
corruption clock, death screen. Standee sprite art, diorama scene dressing and
corruption-keyed post FX are wired (M5 kickoff); the full art pass is tracked in
`docs/ENV_ENHANCEMENT.md`.
## Build & run
```sh
cmake -B build
cmake --build build -j6
./build/cntrl --seed 42
```
Dev tools: `--bot` (kiting autopilot), `--screenshot <path> [--screenshot-at <sec>]`
and `--screenshot-on-levelup <path>` for automated visual checks; F12 saves a
screenshot on demand.
raylib 6.2 is fetched automatically by CMake (FetchContent). Needs a C++23 compiler
(GCC 13+) and OpenGL/X11 dev headers (already required by GLFW).
## Controls
| Input | Action |
|---|---|
| WASD | Move |
| Shift / Space | Dash (*Evade*) |
| 1 / 2 / 3 | Pick Board Directive on level-up |
| R | Restart run (on death) |
| Esc | Quit |
## Documentation
- `docs/GAME_DESIGN.md` — vision, core loop, OoPs, enemies, corruption system
- `docs/ART_DIRECTION.md` — the 3D-env + 2D-sprite diorama look, UI, audio
- `docs/TECHNICAL.md` — stack, architecture, module map
- `docs/ROADMAP.md` — milestones M0–M6 and current status
- `docs/concept/` — rendered Blender concept frames (visual target for M5)
- `docs/ENV_ENHANCEMENT.md` — enhancement slices S0–S5 for the environment
- `tools/blender/` — procedural Blender scene builder + render scripts
## IP note
FBC / Control / Oldest House are Remedy Entertainment's intellectual property.
This is a non-commercial fan project.