Pre-alpha Control-inspired auto-brawler (C++23 + raylib): move, dash, and let your Objects of Power fire themselves while corruption rises. Ignite three Beacons on Floor 01; levels are JSON-authored and cooked to a checksummed binary at build time.
Find a file
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
assets FBC: NIGHT SHIFT - S5: wired sprites, the diorama scene and corruption post FX into the game 2026-10-24 11:19:37 +04:00
docs FBC: NIGHT SHIFT - S5: wired sprites, the diorama scene and corruption post FX into the game 2026-10-24 11:19:37 +04:00
src FBC: NIGHT SHIFT - S5: wired sprites, the diorama scene and corruption post FX into the game 2026-10-24 11:19:37 +04:00
tools/blender FBC: NIGHT SHIFT - added the enhancement-slices doc and delivered S0/S1: light-surface-post pass and identity props 2026-10-24 11:02:36 +04:00
.gitignore FBC: NIGHT SHIFT - built the Blender concept diorama with polished concrete, red carpets and 2D standee sprites 2026-10-24 10:30:57 +04:00
CMakeLists.txt FBC: NIGHT SHIFT - scaffolded the project and delivered grey-box milestones M0-M2, laying the C++23/raylib horde-survivor base 2026-10-24 09:46:55 +04:00
README.md FBC: NIGHT SHIFT - S5: wired sprites, the diorama scene and corruption post FX into the game 2026-10-24 11:19:37 +04:00

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

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.