cntrl/README.md
dandovlatov 78f058176d FBC: NIGHT SHIFT - scaffolded the project and delivered grey-box milestones M0-M2, laying the C++23/raylib horde-survivor base
Control-universe Vampire Survivors-like horde survivor (C++23 + CMake + raylib 6.2 via FetchContent).

- sim/render split: raylib-free core/game, deterministic 60 Hz tick, PCG32 seeds
- RoR2-style corruption scaling + credit spawn director (too-cheap rule)
- 4 Objects of Power weapons with levels 1-4 and Altered Form evolutions
- VS-style Board Directive drafts, damage numbers, brutalist diorama presenter
- docs: game design, art direction, technical design, roadmap

Milestones M0-M2 complete and validated (250 enemies @ 60 fps stress capture).
2026-10-24 09:46:55 +04:00

54 lines
1.9 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. Art is placeholder-by-design (M5).
## 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
## IP note
FBC / Control / Oldest House are Remedy Entertainment's intellectual property.
This is a non-commercial fan project.