cntrl/README.md

70 lines
3.1 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 real-time auto-brawler (Vampire Survivors-like) built in C++23 + raylib 6.2.
You are a **nameless worker** in the Oldest House — an everyday FBC worker who never
resonated when the others became Resonant. Move, and everything else is automatic:
your Objects of Power fire on their own while the Oldest House decays around you in
real time. (Jesse Faden walks into the Executive floor — that is the end of the run;
the player is not Jesse.)
**Signature mechanic:** reach an Object of Power's ritual — complete 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 vertical slice (M0–M2 plus the M5 art kickoff): move/dash + autoshoot,
4 Objects of Power (levels + Altered Forms, enable/disable), real-time skill
offers on level-up (no pause), 3 enemy archetypes, corruption clock,
death screen. Floors & rituals (M3), world objects (M4), debuffs/buffs system
(M4). The look is a brutalist 3D diorama
with **sculpted low-poly Blender actors** (no more 2D standees or box kits) and corruption-keyed post
FX. A single tileable 2K concrete PBR set (generated by
`tools/blender/build_materials.py`) is shared by floor, curbs and pillars via one
triplanar shader and one merged mesh. Art 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), `--no-damage` (stress mode),
`--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 |
| Stick (XInput/GLFW, M7) | Move |
| Shift / Space | Dash (*Evade*) |
| 1 / 2 / 3 | Pick level-up offer (real-time, no pause) |
| 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 + low-poly-actor 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–S6 for the environment/actors
- `tools/blender/` — procedural diorama + actor builders (`actor_kit.py` loft/sweep/blob/crystal helpers) and render scripts
- `assets/models/` — game-ready GLB actors (guard, 3 enemies, resonance shard) and `props/` OoP set dressing
- `assets/textures/concrete/` — shared seamless albedo/normal/roughness maps
- `assets/textures/actor/actor_ramp.png` — Blender-generated stylised lighting ramp
- `assets/blender/fbc_corruption_wave.blend` — reusable SDF wave reference scene
## IP note
FBC / Control / Oldest House are Remedy Entertainment's intellectual property.
This is a non-commercial fan project.