The third Beacon now unseals the Security Booth, and entering it grants the Hissed Floppy Disk — a permanent run item: dash cooldown x0.85 (15% faster Evade) and a data trail dealing 8 base damage to enemies within 1.15 m of the dash path, once per enemy per Evade. The briefing stamp now opens only the Janitor and Locker rooms; the Booth stays sealed until all three monuments burn, so the disk is earned, not found. - Added floppy_disk.glb with its Blender generator (tools/blender/ build_floppy_disk.py) and a bobbing render path for Decor props carrying a model name; one disk authored in floor01.json - Rebuilt clearance-door visuals: fixed jamb/header frame, two leaves with a hot seam, red/green status bar and lit sill; open doors park their leaves - HUD objective switches to ENTER THE SECURITY BOOTH once the Beacons burn; disk buff stamp listed while held - Added --disk-test (beacons lit, start inside the Booth) and --door-test (start at the sealed door) QA flags - Tests: beacon_test extended with booth gating, disk claim, buff and one-hit-per-dash cases (17/17 pass)
78 lines
5.3 KiB
Markdown
78 lines
5.3 KiB
Markdown
# FBC: NIGHT SHIFT
|
||
|
||
> A pre-alpha, *Control*-flavoured auto-brawler. Move — everything else fires itself while the Oldest House decays in real time.
|
||
|
||
You are a nameless FBC worker who never resonated. Your Objects of Power have a life of their own; the real enemy is the corruption clock. Floor 01 is a hand-authored 240 × 180 m blockout with three **Beacons** to find and ignite — the run's current objective.
|
||
|
||
## Highlights
|
||
|
||
- **Move-only combat** — WASD + dash, four auto-firing OoPs. Press `J`/`K`/`L` to steer CONCRETE CALL, WARP and PUSH (`U` for FLUORESCENT once earned); `Tab` toggles autoplay.
|
||
- **Rituals as rewards** — complete an OoP's ritual and it becomes a permanent skill for the run (Mega Man structure, Control skin).
|
||
- **Three Beacons → Hissed Floppy Disk** — walk within 2.5 m to ignite each grey monument; the third unseals the Security Booth (red door → green), where a corrupted FBC disk grants a permanent run buff: +15% Evade and a damaging data trail on every dash.
|
||
- **Projector blackout** — walk into the screen, answer twenty red phones in the dark, claim FLUORESCENT.
|
||
- **Corruption clock** — Risk of Rain 2-style scaling; level-up offers roll as real-time HUD stamps, never pausing the run.
|
||
- **Built, not kitbashed** — rigged/animated Blender agent, sculpted low-poly enemies and props, one seamless 2K concrete PBR set, hard shadows and half-res bloom.
|
||
|
||
## Run it
|
||
|
||
```sh
|
||
cmake -B build && cmake --build build -j6
|
||
./build/cntrl --seed 42 # 900p default, raw look
|
||
./build/cntrl --seed 42 --post-fx # graded + bloom
|
||
./build/cntrl --seed 42 --shadows off # compare lighting
|
||
```
|
||
|
||
C++23 (GCC 13+) and OpenGL/X11 headers; raylib 6.2 is fetched by CMake. Automated captures: `--screenshot /tmp/shot.png --screenshot-at 8`. Dev QA: `--skill-test` (staged CALL/WARP casts for VFX captures), `--floor-overview`, `--beacon-test`, `--door-test` (sealed Booth), `--disk-test` (Beacons lit, Disk claimed), `--plaza-test`, `--bot`, `--no-damage`, `--trace all`; full flag list in `src/main.cpp`. F12 saves a screenshot.
|
||
|
||
## Title screen & options
|
||
|
||
The title screen has **BRIEFING** and **OPTIONS** tabs (`Tab`/Select to switch, mouse click, or Left/Right from the briefing). Options persist to `cntrl.cfg` in the working directory and apply immediately:
|
||
|
||
| Option | Values | Default |
|
||
|---|---|---|
|
||
| Resolution | 720p / 900p / 1080p / 4K (clamped to the monitor) | 900p |
|
||
| Rendering | RAW / POST FX | RAW |
|
||
| Frame rate | 60 FPS / Unlocked | 60 FPS |
|
||
| Dev UI | Visible / Hidden (profile, camera dev, HUD debug counters) | Hidden |
|
||
|
||
In Options: Up/Down select, Left/Right change a value, Enter/A apply, Esc/B go back, and **DEFAULTS** restores the shipped settings. CLI overrides (for reproducible captures) are `--720p`, `--900p`, `--1080p`, `--4k`, `--raw`, `--post-fx`, `--unlock-fps` (alias `--uncapped`), `--dev-ui`, `--hide-dev-ui`, and `--menu-options` (opens the Options tab for QA). `--dev` keeps the compact 1400x900 test window.
|
||
|
||
## Controls
|
||
|
||
| Input | Action |
|
||
|---|---|
|
||
| WASD / stick | Move |
|
||
| Shift / Space | Dash (*Evade*) |
|
||
| J / K / L | CONCRETE CALL — hurl rubble at a crowd / WARP — collapse enemies together / PUSH — radial shockwave that knocks enemies back and staggers them |
|
||
| U | FLUORESCENT (earned in the projector blackout) |
|
||
| Tab | Toggle skill autoplay (AUTO / MANUAL / OFF) |
|
||
| R / Esc | Restart on death / quit |
|
||
|
||
J/K/L/U presses are remembered while that skill cools down; the HUD stamp shows a `Q` while a cast is queued. A manual press takes control of that skill only — the others keep autoplaying.
|
||
|
||
## Level data & tools
|
||
|
||
`assets/levels/floor01.json` is the authoring source of truth: designers and scripts edit JSON, the build step cooks it into a checksummed binary (`level_tool --bake`, target `bake_level`), and `cntrl` loads only that binary at runtime. Debug builds accept `--level <file.json>` for hot-reload iteration. Validate with `cmake --build build --target check_level` and `ctest --test-dir build --output-on-failure`. The standalone level editor is local-only and not included. `tools/blender/` holds reproducible asset generators, and `import_level.py` rebuilds a Blender blockout from the level JSON. See `docs/LEVEL_DATA_PIPELINE.md` for the full schema.
|
||
|
||
## Layout
|
||
|
||
`src/core` — math, events, RNG · `src/game` — fixed 60 Hz sim · `src/level` — data and validation · `src/render` — raylib presentation · `assets` — GLBs, textures, shaders · `docs` — design and art notes.
|
||
|
||
## Docs
|
||
|
||
- `docs/GAME_DESIGN.md` — vision, loop, OoPs, corruption
|
||
- `docs/MAP_FLOW.md` + `docs/maps/` — run flow and 2D maps
|
||
- `docs/BLACKOUT_RITUAL.md` — projector-screen phone puzzle
|
||
- `docs/LEVEL_DESIGN_REVIEW.md` — map vs. client audit
|
||
- `docs/LEVEL_DATA_PIPELINE.md` — JSON authoring → cooked binary → runtime load
|
||
- `docs/ART_DIRECTION.md` + `docs/concept/` — visual target
|
||
- `docs/GAME_DESIGN_PASS.md` — recent design changes, including the Beacon pass
|
||
- `docs/ROADMAP.md` — milestones M0–M7
|
||
|
||
## Status
|
||
|
||
Pre-alpha vertical slice: playable Floor 01, four OoPs, four enemy archetypes, rituals, side rooms, the Beacon objective and its Hissed Floppy Disk reward. Still open: six more floors, bosses, audio and meta progression.
|
||
|
||
## IP note
|
||
|
||
FBC / Control / Oldest House are Remedy Entertainment's intellectual property. Non-commercial fan project.
|