Commit graph

50 commits

Author SHA1 Message Date
dandovlatov
9676d41840 Bake set dressing into static meshes, triple 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
3174ccbfc1 Ignore local visual dressing investigation handoff 2026-11-25 05:24:41 +04:00
dandovlatov
64610a2e89 Add persistent options menu and restyle 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. Adds settings unit test and README docs.
2026-11-25 04:51:11 +04:00
dandovlatov
da0d157e29 Add 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
ae7871b23e Polish CONCRETE CALL and WARP: reliable triggers and skill-specific VFX
Systemic:
- Queue manual presses until the skill is actually ready; manual hold is per
  skill, so J no longer parks WARP/FLUORESCENT on manual.
- Require line of sight for targeting, flight and damage; steer the heap toward
  moving crowds; lock WARP to the crowd present at cast (manual no-target
  fields remain area hazards).
- Reuse the targeting hash, throttle fruitless autoplay scans, raise event
  capacity and emit skill VFX events before per-hit events.
- Use explicit SkillCast bit flags, show applied damage, skip dead enemies and
  keep cooldowns advancing inside the blackout pocket.

Visual:
- Tint ground waves per skill (teal WARP, pale concrete CALL, yellow light).
- Add landing telegraphs, dust wakes and a teal collapse burst; grey concrete
  impact decals; per-skill HUD accents and a queued-press badge.
- Add --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
f36654ff42 Cook levels into a checksummed binary; load binary at runtime
Replace 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. Add codec/CLI tests, binary checker, editor bake-on-playtest, and pipeline docs.
2026-11-25 03:19:37 +04:00
dandovlatov
fff8360c71 Add body pile floor dressing model and place two in plaza 2026-11-25 03:06:13 +04:00
dandovlatov
4bce3c605c Rewrite README as a concise, formatted repo page 2026-11-25 02:54:01 +04:00
dandovlatov
d978cd730c Keep the level editor local-only
- Ignore/untrack src/editor and docs/LEVEL_EDITOR.md (files stay on disk)
- Guard the editor CMake target so fresh clones configure without it
- Trim README to level-data/bake docs and drop stale editor doc links
2026-11-25 02:50:31 +04:00
dandovlatov
27bf6e511f Replace Threshold exit flow with walk-to-activate Beacons
- Remove Threshold Key/hazard door/stairwell exit, anchors, events and HUD text
- Add aged 40%-larger Beacon GLB and reproducible Blender generator
- Add BeaconSystem: three walk-over beacons, grey->bright-red Hiss-wave activation
- Add cheap plinth collision and a placeholder completion event/banner
- Add beacon QA flag, validation, tests and design notes
2026-11-25 02:46:19 +04:00
dandovlatov
5c08e454f3 Add hard shadow mapping with static and dynamic casters 2026-11-25 02:00:19 +04:00
dandovlatov
b9eb02fc68 FBC: NIGHT SHIFT — 2x OoP case, full-size hotline desks, no phone labels 2026-11-25 01:24:57 +04:00
dandovlatov
ca0fae5847 FBC: NIGHT SHIFT - skill debris surfaces, reliable WARP 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
- Add opt-in --trace categories for silent skill decisions, debris bursts,
  input and consumed events, with zero cost when disabled
- Add debris_surface_wiring and debug_trace_toggle regression tests
2026-11-25 01:06:26 +04:00
dandovlatov
79a2502a0a FBC: NIGHT SHIFT - blackout polish and responsive skill keys
- Keep the default tactical camera in the projector blackout; lights go out
  ~2 s after crossing the screen (Pending phase with normal play/grace)
- Remove the blackout task HUD (progress card, dots, instructions); replace
  with close-range world-anchored FBC inspection placards for the screen,
  phones and the glass case
- Fix manual J/K/U presses feeling dead: queue a press while the skill is on
  cooldown and flash the HUD stamp immediately; clear the queue on autoplay
  toggle and during the pocket. Add regression test
- Add --blackout-near-phone QA hook; update design docs and README
2026-11-25 00:20:49 +04:00
dandovlatov
a64890860e FBC: NIGHT SHIFT - 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
763301b50f FBC: NIGHT SHIFT - active skills with autoplay
Add 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
fa36042493 FBC: NIGHT SHIFT - no 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
89d2bb8806 FBC: NIGHT SHIFT - pacing pass and cyan crystal / buff decoupling
Pacing:
- Spin cooldown 0.55 -> 0.95 s (-3%/level instead of -8%); damage ramp +28%/level
- Weaken fire-rate offers (Rapid Cycling +8%, Board Favor +4%, Maintenance +5%)
- Stretch XP curve to 10+6*level and offer cadence to 3 s (5 s idle)
- Calm early director income and spawn interval; docs updated

Crystal/buff decoupling:
- Kills drop XP shards only; remove 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
- Update design docs, RPG_LITE and README
2026-11-24 21:55:59 +04:00
dandovlatov
849b34922d FBC: NIGHT SHIFT - two-handed agent weapon grip, standalone level editor and validation
- Pin 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.
- Nudge the weapon forward so the stock clears the vest; make the generator
  reproducible (clears stale actions) and regenerate .blend, GLB and renders.
- Add 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
f21032d4ad FBC: NIGHT SHIFT - standalone level editor, JSON level data and baked client levels 2026-11-24 15:42:55 +04:00
dandovlatov
c997a07bdc FBC: NIGHT SHIFT - scaled floor plan, open interiors and thermo door thresholds 2026-11-24 05:31:19 +04:00
dandovlatov
7aa534d95e FBC: NIGHT SHIFT - tiered Blender service weapon rounds, barrel spawn and agent visor fix 2026-11-24 04:27:06 +04:00
dandovlatov
27cff0be59 FBC: NIGHT SHIFT - 20-minute corruption curve, paced director and HUD clock 2026-11-24 03:40:23 +04:00
dandovlatov
727c116683 FBC: NIGHT SHIFT - gamepad input latching, last-active pad and built-in mappings 2026-11-24 03:24:54 +04:00
dandovlatov
cca6034319 FBC: NIGHT SHIFT - layered hit flinch and textured concrete room tinting 2026-11-24 03:16:50 +04:00
dandovlatov
04fbc3d4ba FBC: NIGHT SHIFT - cross-faded agent animation and smoothed locomotion blending 2026-11-24 03:00:20 +04:00
dandovlatov
d35072e143 FBC: NIGHT SHIFT - dev resolution, uncapped perf pass, backface culling and debris batching 2026-11-24 02:47:33 +04:00
dandovlatov
40c2d1cf16 FBC: NIGHT SHIFT - GPU profiling, P0 render optimizations and graphics filter option 2026-11-24 02:07:30 +04:00
dandovlatov
fcd2b3d141 FBC: NIGHT SHIFT - level design review: floor route, Projector ritual skill, clearance gates and side-room rewards 2026-11-24 01:09:09 +04:00
dandovlatov
c8f457387f FBC: NIGHT SHIFT - playable Floor 01 blockout, room collision, key/door flow and full asset integration 2026-11-24 00:11:54 +04:00
dandovlatov
55d9951577 FBC: NIGHT SHIFT - batching polish, raw-path bypass, frustum culling and shard LOD 2026-11-23 23:02:31 +04:00
dandovlatov
a416d043f8 FBC: NIGHT SHIFT - spatial paper gating and skill-gated concrete debris 2026-11-23 22:01:47 +04:00
dandovlatov
06bf8d5f79 FBC: NIGHT SHIFT - office litter kit, destructible dressing and AOE paper-burst VFX 2026-11-23 21:49:20 +04:00
dandovlatov
b2388ccb7a FBC: NIGHT SHIFT - S17: rigged reference agent with Blender skeletal animations 2026-11-23 21:05:40 +04:00
dandovlatov
ab1e7449da FBC: NIGHT SHIFT - S16: 5x floor, open-plan room, Blender furniture kit and camera dev slider 2026-11-23 19:45:14 +04:00
dandovlatov
d75972e3a9 FBC: NIGHT SHIFT - Hiss fluid shader look-dev with --hiss-test camera 2026-11-23 18:42:15 +04:00
dandovlatov
4ac35cc512 FBC: NIGHT SHIFT - RPG-lite offers: directives, passives, evolutions, regen/armor 2026-11-23 18:42:15 +04:00
dandovlatov
73e95211cb FBC: NIGHT SHIFT - 1080p default with raw scene palette and unfiltered HUD 2026-11-23 17:38:05 +04:00
dandovlatov
0cba95efb1 FBC: NIGHT SHIFT - fix actor facing and launch-path crash, add Hiss Ghost enemy 2026-11-23 17:08:01 +04:00
dandovlatov
9e87f86ff1 FBC: NIGHT SHIFT - darker value pass with worn carpet detail 2026-11-23 16:42:27 +04:00
dandovlatov
33eda1c7f1 FBC: NIGHT SHIFT - slick light-grey concrete bake, final concept renders 2026-11-23 16:22:04 +04:00
dandovlatov
7d0cda89d9 FBC: NIGHT SHIFT - document CGTrader concrete bake and refresh concept renders 2026-11-23 15:47:27 +04:00
dandovlatov
26a4641d71 FBC: NIGHT SHIFT - lightswitch ritual (§2.3) + remove level-up card pick (no pause) 2026-11-23 15:37:45 +04:00
dandovlatov
149ebf5ba1 FBC: NIGHT SHIFT - docs: refresh README, art/technical direction for S9-S15 2026-11-23 04:13:53 +04:00
dandovlatov
27ee3baf65 FBC: NIGHT SHIFT - ritual system MVP: TV ritual, world objects of power, buffs & debuffs (Trials→Rituals) 2026-11-23 04:05:27 +04:00
dandovlatov
dc03b03a82 FBC: NIGHT SHIFT - S6-S8: 3D Blender actors, shared concrete PBR, SDF corruption waves 2026-11-22 19:51:49 +04:00
dandovlatov
7c1e898e92 FBC: NIGHT SHIFT - S5: wire sprites + diorama scene + 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
e01b71c2b7 FBC: NIGHT SHIFT - enhancement slices doc + S0/S1: light-surface-post pass, 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
5bb10c7777 FBC: NIGHT SHIFT - Blender concept diorama: polished concrete, red carpets, 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
f1920498b4 FBC: NIGHT SHIFT - project scaffold and grey-box milestones M0-M2
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