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
2026-11-24 03:00:20 +04:00
.opencode/skills/blender-mcp-iterative FBC: NIGHT SHIFT - playable Floor 01 blockout, room collision, key/door flow and full asset integration 2026-11-24 00:11:54 +04:00
assets FBC: NIGHT SHIFT - GPU profiling, P0 render optimizations and graphics filter option 2026-11-24 02:07:30 +04:00
docs FBC: NIGHT SHIFT - dev resolution, uncapped perf pass, backface culling and debris batching 2026-11-24 02:47:33 +04:00
src FBC: NIGHT SHIFT - cross-faded agent animation and smoothed locomotion blending 2026-11-24 03:00:20 +04:00
third_party FBC: NIGHT SHIFT - office litter kit, destructible dressing and AOE paper-burst VFX 2026-11-23 21:49:20 +04:00
tools/blender FBC: NIGHT SHIFT - office litter kit, destructible dressing and AOE paper-burst VFX 2026-11-23 21:49:20 +04:00
.gitignore FBC: NIGHT SHIFT - Blender concept diorama: polished concrete, red carpets, 2D standee sprites 2026-10-24 10:30:57 +04:00
CMakeLists.txt FBC: NIGHT SHIFT - dev resolution, uncapped perf pass, backface culling and debris batching 2026-11-24 02:47:33 +04:00
ConcreteMaterial.blend FBC: NIGHT SHIFT - lightswitch ritual (§2.3) + remove level-up card pick (no pause) 2026-11-23 15:37:45 +04:00
README.md FBC: NIGHT SHIFT - dev resolution, uncapped perf pass, backface culling and debris batching 2026-11-24 02:47:33 +04:00
referance_4.jpeg FBC: NIGHT SHIFT - ritual system MVP: TV ritual, world objects of power, buffs & debuffs (Trials→Rituals) 2026-11-23 04:05:27 +04:00
reference_3.jpeg FBC: NIGHT SHIFT - ritual system MVP: TV ritual, world objects of power, buffs & debuffs (Trials→Rituals) 2026-11-23 04:05:27 +04:00
reference_ai.jpeg FBC: NIGHT SHIFT - ritual system MVP: TV ritual, world objects of power, buffs & debuffs (Trials→Rituals) 2026-11-23 04:05:27 +04:00
reference_ai2.jpeg FBC: NIGHT SHIFT - ritual system MVP: TV ritual, world objects of power, buffs & debuffs (Trials→Rituals) 2026-11-23 04:05:27 +04:00

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 M3–M5 art/systems kickoff): move/dash + autoshoot, 4 Objects of Power (levels + Altered Forms, enable/disable), level-ups that roll offers as real-time HUD entries per GAME_DESIGN.md §2.2 (no picking — the run is never paused), 4 enemy archetypes, corruption clock, death screen. OoP rituals, scene-wide buffs/debuffs and world objects are in and wired into the HUD. The look is a brutalist 3D diorama with sculpted low-poly Blender actors (no 2D standees or box kits). The player is a dedicated reference-based, Blender-rigged FBC agent (yellow helmet, glowing respirator, sage coveralls, radio, rifle with a red tip) with real Idle/Run/Dash/Fire/ Stagger actions; the horde uses procedural walk/stagger rigs, hit/kill sparks and corruption-keyed post FX with half-res bloom. 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 (S0–S16). The floor is now a 260 × 260 m Oldest House with an outer pillar grid and an open-plan Research room (Blender-built desks, computers, chairs, meeting table, plants, sofas, lamps and partitions); see src/render/layout.hpp for the shared anchors. Playable Floor 01 (Security & Administration) is now the default run layout: the 160 × 120 m walled blockout from docs/MAP_FLOW.md — Security Gate → Central Plaza (the original hub scene: carpet, pillars, OoPs) → Projector Room → Office Suite (full S16 GLB office kit, right of Silos) → Silos → Threshold Stairwell, plus four side rooms — with real wall collision, room-local spawning, a Threshold Key in the Silos and a floor jump through the stairwell. Shared layout/collision lives in src/game/floor.{hpp,cpp}; the old 260 m arena is kept as the non-floor fallback. The Projector ritual now claims a permanent OoP skill, and Clearance 01 gates the three side-room doors until that stamp is earned (each side room pays a one-time reward). Details and outstanding gaps are in docs/LEVEL_DESIGN_REVIEW.md.

Build & run

cmake -B build
cmake --build build -j6
./build/cntrl --seed 42

The window defaults to 1400×900 for everyday development — it fits under a 1080p desktop's top bar without being scaled down. --720p (1280×720) and --1080p (1920×1080) are explicit test resolutions for perf/visual checks; --dev returns to the default. The scene is shown with its raw palette by default; pass --post-fx for the graded/bloomed/VHS look.

Dev tools: --bot (kiting autopilot), --no-damage (stress mode), --uncapped (drop the 60 FPS target to measure headroom; F10 shows the profiler), --screenshot <path> [--screenshot-at <sec>] for automated visual checks, --hiss-test (close-up of one buffed Hiss Brute for shader look-dev), --room-test (frozen look at the new open-plan room), --aoe-test (repeating area blasts in the open-plan room for litter/destruction VFX look-dev), --floor-overview (whole-floor overhead dev camera for the Floor 01 blockout), --plaza-test (start in the central plaza hub scene), --office-test (start in the office suite and inspect its destructible paper/bins), --fov <deg>, --cam-height <m> and --cam-forward <m> for camera framing captures; F12 saves a screenshot on demand. Hiss corruption is visualised on enemies carrying an active enemy-channel buff (burn/slow/vulnerable/resonance) and on Objects of Power.

The dev HUD has a draggable CAMERA DEV panel (bottom right): FOV, camera height and forward offset, with [ ], - = and , . keyboard shortcuts; F9 hides it.

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)
R Restart run (on death)
Esc Quit

Documentation

  • docs/GAME_DESIGN.md — vision, core loop, OoPs, enemies, corruption system
  • docs/MAP_FLOW.md + docs/maps/ — 7-floor run flow brainstorm and 2D maps (floor_01_security.svg/png, oldest_house_flow.svg/png)
  • src/game/floor.{hpp,cpp} — playable Floor 01 room/wall/prop data, collision and spawn helpers
  • docs/ART_DIRECTION.md — the 3D-env + low-poly-actor diorama look, UI, audio
  • docs/TECHNICAL.md — stack, architecture, module map
  • docs/LEVEL_DESIGN_REVIEW.md — 2D map vs. client audit, findings and fix status
  • docs/ROADMAP.md — milestones M0–M7 and current status
  • docs/concept/ — rendered Blender concept frames (visual target for M5)
  • docs/ENV_ENHANCEMENT.md — enhancement slices S0–S17 for the environment/actors
  • ConcreteMaterial.blend + tools/blender/bake_cgtrader_concrete.py and process_concrete_maps.py — CGTrader concrete source and the reproducible 2K bake/post-process used by floor/walls/pillars
  • tools/blender/ — procedural diorama + actor builders (actor_kit.py loft/sweep/blob/crystal helpers) and render scripts
  • assets/models/ — game-ready GLB actors (agent.glb is the rigged/animated player from tools/blender/build_agent.py, plus enemies and cyan resonance point crystal), props/ OoP set dressing and the S16 open-room kit (tools/blender/build_room_props.py)
  • 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.