Commit graph

50 commits

Author SHA1 Message Date
dandovlatov
ab4a16185d Baked set dressing into static meshes and tripled the prop density
Dressing bakes alive props into one DrawMesh per batch at init, rebuilt only on blasts. Adds 180 non-solid Decor props to Floor 01 (153 -> 333 total). Drops draw calls 95 -> 81 with no measurable GPU-time increase. Baked props give up paper sway and hard shadows; ramp is rebound after the batch so actors keep their shading.
2026-11-25 06:10:09 +04:00
dandovlatov
aa1bafd9ab Ignored the local visual dressing investigation handoff 2026-11-25 05:24:41 +04:00
dandovlatov
795422a804 Added a persistent options menu and restyled the title screen
Full-screen translucent FBC-style menu with BRIEFING/OPTIONS tabs, resolution (720p/900p/1080p/4K), RAW/POST FX, unlocked FPS and hidden dev UI. Settings persist to cntrl.cfg, CLI overrides stay authoritative, render targets resize with resolution. Added a settings unit test and README docs.
2026-11-25 04:51:11 +04:00
dandovlatov
f95586cba3 Added the PUSH skill on L: radial knockback and stagger with rebuilt rubble
PUSH is a fourth always-available active skill bound to L (gamepad RT).
It shoves visible enemies in a 6 m radius outward, damages them and holds
them in a 0.55 s stagger that stops chasing and attacks. Autoplay toggling
moves to Tab so the new key is free.

The effect reuses the rock-debris pool via a new radial burst variant and
the shattered-concrete GLB rebuilt in Blender: broken slabs, raised
splinters, bent rebar and Hiss cracks. Warm rings, ground pulse, sparks
and tumbling GLB shards carry the shockwave; stagger feeds the actor recoil
shader. HUD, docs and skill tests updated.
2026-11-25 04:22:37 +04:00
dandovlatov
a90d763f49 Polished CONCRETE CALL and WARP with reliable triggers and skill-specific VFX
Systemic:
- Queued manual presses until the skill is actually ready; manual hold is per
  skill, so J no longer parks WARP/FLUORESCENT on manual.
- Required line of sight for targeting, flight and damage; steered the heap toward
  moving crowds; locked WARP to the crowd present at cast (manual no-target
  fields remain area hazards).
- Reused the targeting hash, throttled fruitless autoplay scans, raised event
  capacity and emitted skill VFX events before per-hit events.
- Used explicit SkillCast bit flags, showed applied damage, skipped dead enemies and
  kept cooldowns advancing inside the blackout pocket.

Visual:
- Tinted ground waves per skill (teal WARP, pale concrete CALL, yellow light).
- Added landing telegraphs, dust wakes and a teal collapse burst; grey concrete
  impact decals; per-skill HUD accents and a queued-press badge.
- Added --skill-test staging with sim-time-keyed captures for VFX QA.

Tests: 16/16 pass, including new queue lifetime, per-skill autoplay, cast flag
and moving-target cases.
2026-11-25 03:57:09 +04:00
dandovlatov
3136c11417 Cooked levels into a checksummed binary loaded at runtime
Replaced the tracked JSON-in-header bake with a deterministic, bounds-checked CLB binary cooked by the build step. cntrl now loads only the binary; direct JSON loading is restricted to debug builds. Added codec/CLI tests, a binary checker, editor bake-on-playtest and pipeline docs.
2026-11-25 03:19:37 +04:00
dandovlatov
2cbaf94593 Added a body-pile floor dressing model and placed two in the plaza 2026-11-25 03:06:13 +04:00
dandovlatov
fe939735f4 Rewrote the README as a concise, formatted repo page 2026-11-25 02:54:01 +04:00
dandovlatov
cc28057851 Kept the level editor local-only
- Ignored/untracked src/editor and docs/LEVEL_EDITOR.md (files stay on disk)
- Guarded the editor CMake target so fresh clones configure without it
- Trimmed README to level-data/bake docs and dropped stale editor doc links
2026-11-25 02:50:31 +04:00
dandovlatov
517dbbdc38 Replaced the Threshold exit flow with walk-to-activate Beacons
- Removed the Threshold Key/hazard door/stairwell exit, anchors, events and HUD text
- Added an aged 40%-larger Beacon GLB and a reproducible Blender generator
- Added BeaconSystem: three walk-over beacons, grey->bright-red Hiss-wave activation
- Added cheap plinth collision and a placeholder completion event/banner
- Added a beacon QA flag, validation, tests and design notes
2026-11-25 02:46:19 +04:00
dandovlatov
84562ba1ef Added hard shadow mapping with static and dynamic casters 2026-11-25 02:00:19 +04:00
dandovlatov
4f0f7b27f4 FBC: NIGHT SHIFT — doubled the OoP case, upsized the hotline desks and removed phone labels 2026-11-25 01:24:57 +04:00
dandovlatov
bb5937d921 FBC: NIGHT SHIFT - added skill debris surfaces, reliable WARP casting and opt-in tracing
- Skills shake nearby shelves, tables and garbage cans into paper + rock
  debris; props stay intact, destroyed bins stop shedding, and rock debris
  can originate from prop surfaces
- Manual K always casts WARP (field drops ahead of the agent when no crowd
  is in range); autoplay still waits for a real target
- Added opt-in --trace categories for silent skill decisions, debris bursts,
  input and consumed events, with zero cost when disabled
- Added debris_surface_wiring and debug_trace_toggle regression tests
2026-11-25 01:06:26 +04:00
dandovlatov
faf048c1f2 FBC: NIGHT SHIFT - polished the blackout flow and made skill keys responsive
- Kept the default tactical camera in the projector blackout; lights go out
  ~2 s after crossing the screen (Pending phase with normal play/grace)
- Removed the blackout task HUD (progress card, dots, instructions); replaced
  with close-range world-anchored FBC inspection placards for the screen,
  phones and the glass case
- Fixed manual J/K/U presses feeling dead: queued a press while the skill is on
  cooldown and flashed the HUD stamp immediately; cleared the queue on autoplay
  toggle and during the pocket. Added a regression test
- Added a --blackout-near-phone QA hook; updated design docs and README
2026-11-25 00:20:49 +04:00
dandovlatov
1aa33d3743 FBC: NIGHT SHIFT - added the projector-screen blackout ritual
Walk into the Projector Room screen to enter a black room with 20 ringing
red-phone tables. Sweep all phones, then step into the yellow-roofed glass
case to restore the lights and claim the FLUORESCENT Light Switch skill.

- Blender: phone_table, case_frame and case_glass GLBs + reproducible
  build_blackout_props.py, concept lineup and source .blend
- Sim: BlackoutSequence state machine, Game ownership, spawn freeze during
  the pocket, FLUORESCENT active skill with unlock flag and buff effect
- Render: uAlpha glass blending, three ActorModels, blackout camera/pass,
  event VFX, HUD progress card and third skill stamp
- Dev flags: --blackout-test, --blackout-auto, --blackout-reveal
- Tests: headless blackout chain/claim test (8/8 CTest pass)
- Docs: BLACKOUT_RITUAL.md plus design/roadmap/art/README updates
2026-11-24 23:33:46 +04:00
dandovlatov
336c1249e9 FBC: NIGHT SHIFT - added active skills with autoplay
Added CONCRETE CALL (J) and WARP (K) as player-triggered skills that also autoplay when no skill keys are pressed. Includes cooldown HUD stamps, target telegraphs, warp pull/collapse VFX, a generic SkillSystem, Blender-enhanced concrete rubble, and regression tests.
2026-11-24 22:53:07 +04:00
dandovlatov
a28dc30b41 FBC: NIGHT SHIFT - removed player stagger on enemy contact
Damage no longer changes the player's animation or applies the full-body shader recoil. Hits only tint the actor; the walk cycle and movement continue uninterrupted. Removed the unused flinch overlay and added a regression test for movement through enemy contact.
2026-11-24 22:05:04 +04:00
dandovlatov
280f3d8961 FBC: NIGHT SHIFT - ran a pacing pass and decoupled the cyan crystal from buffs
Pacing:
- Spin cooldown 0.55 -> 0.95 s (-3%/level instead of -8%); damage ramp +28%/level
- Weakened fire-rate offers (Rapid Cycling +8%, Board Favor +4%, Maintenance +5%)
- Stretched XP curve to 10+6*level and offer cadence to 3 s (5 s idle)
- Calmed early director income and spawn interval; docs updated

Crystal/buff decoupling:
- Kills drop XP shards only; removed the per-kill random buff world object
- PickupSystem owns shards alone; BuffSystem catches world objects with its
  own 2.8 m radius, independent of shard pickup magnet/upgrades
- Explicit guaranteed world-object spawns for rituals and side rooms;
  effect-less bait consumed without a buff
- ShardCollected only emitted for actual shard/XP rewards
- Updated design docs, RPG_LITE and README
2026-11-24 21:55:59 +04:00
dandovlatov
2fb9240793 FBC: NIGHT SHIFT - added a two-handed agent weapon grip, a standalone level editor and validation
- Pinned both wrists to the rifle's real grip surfaces via a shared IK pass in
  every animation clip; hand bones follow the barrel and Fire recoil pivots
  the weapon/arms as one assembly.
- Nudged the weapon forward so the stock clears the vest; made the generator
  reproducible (clears stale actions) and regenerated .blend, GLB and renders.
- Added standalone level editor with JSON level data, validation and baking,
  plus editor docs and regression fixtures.
2026-11-24 21:34:30 +04:00
dandovlatov
83b4717306 FBC: NIGHT SHIFT - added a standalone level editor, JSON level data and baked client levels 2026-11-24 15:42:55 +04:00
dandovlatov
4657d17cb1 FBC: NIGHT SHIFT - scaled the floor plan, opened up interiors and added thermo door thresholds 2026-11-24 05:31:19 +04:00
dandovlatov
893ea48a95 FBC: NIGHT SHIFT - added tiered Blender service weapon rounds, a barrel spawn and an agent visor fix 2026-11-24 04:27:06 +04:00
dandovlatov
b9051e8f96 FBC: NIGHT SHIFT - added a 20-minute corruption curve, a paced director and a HUD clock 2026-11-24 03:40:23 +04:00
dandovlatov
f4bbce8066 FBC: NIGHT SHIFT - added gamepad input latching, last-active pad tracking and built-in mappings 2026-11-24 03:24:54 +04:00
dandovlatov
0f64723d79 FBC: NIGHT SHIFT - added layered hit flinch and textured concrete room tinting 2026-11-24 03:16:50 +04:00
dandovlatov
714af1b173 FBC: NIGHT SHIFT - cross-faded agent animations and smoothed the locomotion blending 2026-11-24 03:00:20 +04:00
dandovlatov
02f94c9695 FBC: NIGHT SHIFT - added a dev resolution, an uncapped perf pass, backface culling and debris batching 2026-11-24 02:47:33 +04:00
dandovlatov
a3c8c8ec45 FBC: NIGHT SHIFT - profiled GPU usage, landed the P0 render optimizations and added a graphics filter option 2026-11-24 02:07:30 +04:00
dandovlatov
f2b493abc0 FBC: NIGHT SHIFT - reviewed the level design: floor route, Projector ritual skill, clearance gates and side-room rewards 2026-11-24 01:09:09 +04:00
dandovlatov
815afda430 FBC: NIGHT SHIFT - built the playable Floor 01 blockout with room collision, key/door flow and full asset integration 2026-11-24 00:11:54 +04:00
dandovlatov
0257dfd84f FBC: NIGHT SHIFT - polished batching and added raw-path bypass, frustum culling and shard LOD 2026-11-23 23:02:31 +04:00
dandovlatov
ab46114632 FBC: NIGHT SHIFT - added spatial paper gating and skill-gated concrete debris 2026-11-23 22:01:47 +04:00
dandovlatov
97eb311e91 FBC: NIGHT SHIFT - added an office litter kit, destructible dressing and AOE paper-burst VFX 2026-11-23 21:49:20 +04:00
dandovlatov
9c3bd06563 FBC: NIGHT SHIFT - S17: rigged the reference agent with Blender skeletal animations 2026-11-23 21:05:40 +04:00
dandovlatov
e29a1c8431 FBC: NIGHT SHIFT - S16: grew the floor 5x into an open-plan room with a Blender furniture kit and a camera dev slider 2026-11-23 19:45:14 +04:00
dandovlatov
739dc309f9 FBC: NIGHT SHIFT - developed the Hiss fluid shader look with a --hiss-test camera 2026-11-23 18:42:15 +04:00
dandovlatov
1902617ddc FBC: NIGHT SHIFT - added RPG-lite offers: directives, passives, evolutions, regen/armor 2026-11-23 18:42:15 +04:00
dandovlatov
7afe0f38af FBC: NIGHT SHIFT - made 1080p the default with the raw scene palette and an unfiltered HUD 2026-11-23 17:38:05 +04:00
dandovlatov
46ab750256 FBC: NIGHT SHIFT - fixed actor facing and the launch-path crash, and added the Hiss Ghost enemy 2026-11-23 17:08:01 +04:00
dandovlatov
a3d06e30c7 FBC: NIGHT SHIFT - applied a darker value pass with worn carpet detail 2026-11-23 16:42:27 +04:00
dandovlatov
69fcf0b49b FBC: NIGHT SHIFT - baked the slick light-grey concrete and produced the final concept renders 2026-11-23 16:22:04 +04:00
dandovlatov
757a239d5b FBC: NIGHT SHIFT - documented the CGTrader concrete bake and refreshed the concept renders 2026-11-23 15:47:27 +04:00
dandovlatov
39dbcb6fca FBC: NIGHT SHIFT - added the lightswitch ritual (§2.3) and removed the level-up card pick (no pause) 2026-11-23 15:37:45 +04:00
dandovlatov
9ca3766d30 FBC: NIGHT SHIFT - docs: refreshed README and art/technical direction for S9-S15 2026-11-23 04:13:53 +04:00
dandovlatov
944b6de945 FBC: NIGHT SHIFT - built the ritual system MVP: TV ritual, world objects of power, buffs & debuffs (Trials→Rituals) 2026-11-23 04:05:27 +04:00
dandovlatov
ac62b1d4aa FBC: NIGHT SHIFT - S6-S8: added 3D Blender actors, shared concrete PBR and SDF corruption waves 2026-11-22 19:51:49 +04:00
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
dandovlatov
aba0fcd7a0 FBC: NIGHT SHIFT - added the enhancement-slices doc and delivered S0/S1: light-surface-post pass and identity props
docs/ENV_ENHANCEMENT.md: full slice plan S0-S5 with acceptance criteria.\n\nS0 light/surface/post: bevels on 119 boxes, floor gloss variation, dead +\nhanging fluorescent fixtures, teal Polaris alcove, threshold-door red light\nspill, 70 dust motes, compositor bloom -> chromatic aberration -> vignette.\n\nS1 identity props: Hotline, Benicoff TV, Service Weapon pedestal, Rubber Duck\nunder glass, security desk, filing cabinets, scattered redacted papers, puddles.\n\nScene 243 -> 405 objects; concept frames re-rendered and validated (hero\np5/p50/p95 0.10/0.30/0.53, red 15.9%, teal 1.4%).
2026-10-24 11:02:36 +04:00
dandovlatov
20b59889f5 FBC: NIGHT SHIFT - built the Blender concept diorama with polished concrete, red carpets and 2D standee sprites
Full visual pass as a Blender scene (docs/ART_DIRECTION.md look):\n- tools/blender/build_scene.py: reproducible procedural scene builder (brutalist\n  kit, threshold door, redacted signage, Board monolith, Hiss slabs, haze)\n- tools/blender/render_shots.py: concept camera renders\n- assets/blender/fbc_night_shift_diorama.blend: the scene (3 cameras)\n- assets/sprites/: guard + Hiss staff/brute, mold, shard, glow standee art\n- docs/concept/: hero, in-game fovy-45, and detail renders
2026-10-24 10:30:57 +04:00
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