Commit Graph

6 Commits

Author SHA1 Message Date
tfrere 971176fc4f feat: single-page title menu, in-game quickbar and smooth ghosts
- welcome: one-page menu (vitrine brand lockup, landing-size h1,
  controls grid with pad variant), pre-boot spinner veil
- in-game: live colour + legs/rollers quickbar bottom-left, back
  button, big mode readout top-right, telemetry stack bottom-right
  (peers, speed, odometer, fps, ctrl rate)
- ghosts: snapshot interpolation at 15 Hz replaces the exponential
  chase (no more micro-stutter, background tabs degrade gracefully)
- modules landed with this batch: ceremony (entrance/respawn), fx
  (wireframe/glitch), controls stack, ball actor, comic stickers

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 13:27:38 +02:00
tfrere 14440e0fbe fix: harden mode state machine + per-duck randomized chirps
State machine:
- sit/stand hand-over timers are now cancellable and cleared by every
  transition entry point (setMode, triggerRoll, resetSim); a stale 2 s
  stand-up timer could previously flip a sitting or rolling duck to the
  walking policy mid-motion
- resetSim cancels any roll in flight and pending timers, always lands
  on walk (R mid-roll no longer replays the roll on the reset duck)
- rolls only launch from a standing walk, not from a sit
- RT quack uses a Schmitt trigger (fire at 0.35, re-arm below 0.2):
  analog jitter around a single threshold caused multiple quacks

Sound:
- ship the runtime's four chirp voice banks (12 takes each); each
  colourway has its own duck voice and every quack picks a random take

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 14:02:45 +02:00
tfrere 201c372933 feat: duck-head modal logo, input lockout mid-roll, quieter quack
- welcome modal uses the site's duck-head mark (open variant on hover)
  instead of the wordmark sticker
- all movement/mode inputs are ignored while a roll is in flight; the
  existing deterministic completion check (tipped then upright, 3 s cap)
  releases the lock, no arbitrary timer
- quack.wav only plays on the gamepad right trigger; mode/colour changes
  keep the silent jaw flap

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 13:55:16 +02:00
tfrere ee2d470a87 feat: ZQSD turn keys + wordmark-only welcome modal
- physical A/D keys (Q/D on AZERTY) now turn instead of strafing;
  strafe moves to the physical Q/E row (A/E on AZERTY)
- welcome modal drops the floating duck sticker, keeps the wordmark

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 13:48:26 +02:00
tfrere ab9dec213e feat: modal logo artwork + sync colour variants from pollen site
- welcome modal now uses the Microduck sticker + wordmark press assets
  (LFS-tracked PNGs, signed like every other private-Space subresource)
- variants.js replaced with the site's 3d-module version: dedicated
  tongue/hips/sideShells slots, black leg motors, uniform yellow/orange
  shoe, and orange lower beak on the blue scheme
- swatches honour the per-variant swatch override (purple dot is purple)
- duck.js/variants.js dynamic imports reuse rl.js's ?v= cache-buster

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 13:40:59 +02:00
tfrere a67f56b984 feat: HUD UX pass - state label with slot-machine roll, keycap hints, per-device highlighting, quack sound from the runtime
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 11:15:19 +02:00