Commit Graph

3 Commits

Author SHA1 Message Date
tfrere 0110fa1f33 feat: latch touch mode on first real touch, add ?touch=1 test hook
(pointer: coarse) misses DevTools device modes and hybrid laptops, so any
real touchstart now arms the thumbs permanently (title page hands the
proof to controls/touch.js via __microduckTouched). ?touch=1 forces the
overlay on any device for desktop testing.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 15:55:53 +02:00
tfrere 55c1238fd0 feat: floating-stick mobile controls, always-on ball, lighter ball scan
- controls/touch.js: touch input source - floating analog stick (lower-left
  zone, base anchors under the finger), A = alternate kick, B = quack with
  held-beak jaw; shown on coarse-pointer devices only
- touch mode strips the HUD to Back + thumbs (no quickbar/mode/telemetry)
  and the title menu shows a stick/A/B tutorial variant (gamepad still wins)
- a ball is always in play: auto-spawned when the entrance or any respawn
  ceremony unlocks input; B now re-pops a fresh one
- ball scan FX reads a coarse geodesic stand-in (fxWireGeometry override)
  instead of the dense render sphere, and plays a touch slower

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 15:39:22 +02:00
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