Commit Graph

34 Commits

Author SHA1 Message Date
chenlin f85f0c1237 feat: release v0.4 with textured Microban visuals 2026-10-29 15:55:17 +08:00
chenlin 1965281004 feat: release v0.3 with RP1 trained skills and scaled arenas 2026-10-29 14:16:04 +08:00
chenlin fa089d5f0c feat: release v0.2 multi-robot simulator
Add declarative robot packages, shared simulation lifecycle and Microban ONNX/PD walking with independent head control.

Unify comic UI and chase camera; default robot packages to a 4.5m arena with real collision walls. Include regression tests, asset provenance/licenses and verification evidence.
2026-10-28 14:00:26 +08:00
chenlin 7c6b558076 chore: release v0.1 without pre-order promotion 2026-10-27 17:00:04 +08:00
tfrere 023172c8a7 fix(moves): HUD plate uses the Academy prompt or the move name, not the description
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 08:54:00 +02:00
tfrere 5a85e867a0 feat(moves): mount Academy moves by manifest kind (gait, trick on R, command script)
- ?move=<ref> boot parameter (?policy= alias, ?session=&round= sugar)
- session:<id>[:<round>] refs fetch same-origin /api/play/* endpoints
- episodic manifests mount in the roll slot as a one-shot on R
- perpetual slot sitstand swaps the sit policy; walk unchanged
- script manifests load move_script.json and drive the 13-D command
  vector on the walker (linear keyframes, loop), toggled by R
- HUD chip: PLAYING <prompt or name> by <author>

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 08:33:02 +02:00
tfrere 59d841aaf1 fix(build): configurable base prefix and relative mesh_dir for /play/ hosting
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 08:33:02 +02:00
tfrere 850e9430c7 feat: manifest probe for direct policy URLs and ghost stream-health fade
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 01:40:30 +02:00
tfrere cb0312619f feat: load community policies from the hub
Resolve an org/repo Hub id (or a direct .onnx URL) into a validated
onnxruntime session and swap it into the walk slot only, keeping
recovery/sitstand/kicks/roulade on the official set:

- custom-policy.js: manifest schema-2 checks (reject only
  present-and-wrong claims, walk-slot compatible kinds only), publish
  smoke run mirror (1 input / 1 output, zeros + 2 noisy inferences,
  [1,14] finite non-constant output), honors manifest action_scale
- game.js: name-agnostic inference (session inputNames/outputNames
  instead of hardcoded obs/actions), per-session action scale,
  Number.isFinite guard before writing ctrl, watchdog that auto-reverts
  to the official walker on 3 abnormal endings (recovery entries +
  solver explosions) in a rolling 20 s window or any non-finite action
- ?policy=<ref> URL param (parsed in App.jsx, loaded after boot, never
  blocking it; failures surface in the HUD on the official walker)
- HUD: active-policy chip with unload X, LOADING POLICY OSD line,
  toast-style OSD message on load errors and watchdog reverts

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 13:48:34 +02:00
tfrere 57b9fad1ca feat: restyle the click-to-walk marker as a tron reticle
Replace the solid pulsing ring with hairline additive lines in the
wireframe-scan art direction: thin ring + rotating radial ticks + center
cross, a one-shot expanding ping on acquire, deterministic hologram
flicker while idle, and a collapse/fade-out on arrival or cancel.
Lives in fx/waypoint-marker.js, driven per-frame from frame(dt).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 16:31:36 +02:00
tfrere cc9f8090ca feat: sync the soccer ball over webrtc ghosts
Peers broadcast their ball's free-joint pose in the state payload (new
optional b field, sent only while a ball is in play). Each ghost renders
it as the same translucent shell as its duck - geometry shared with the
local ball, material cloned - interpolated like the trunk and hidden the
moment the peer's ball despawns. debug() now reports peerId and ball.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 11:58:28 +02:00
tfrere 3565fb1ad2 fix: rate-limit ghost loco rebuilds against flag-flapping peers
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 11:05:55 +02:00
tfrere 3b5e695bca chore: disable sound until the sound design is finished
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 10:55:23 +02:00
Aditya Arakeri f4264f8e7d feat: click-to-walk waypoint control 2026-09-04 10:21:57 +02:00
Victor Bonnet 9ce679a61d Default keyboard labels to QWERTY 2026-09-04 10:21:46 +02:00
Victor Bonnet 5d813593e1 Show layout-aware keyboard labels
Display keyboard tutorial labels for the active layout while keeping the existing physical bindings. Fall back to QWERTY/AZERTY labels when layout data is unavailable.

Tested with `npm test` and `npm run build`.
2026-09-04 10:21:45 +02:00
tfrere 013fb39fe4 feat: gamepad haptics engine, roller-mode ghost rigs, sound re-enable
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 10:18:07 +02:00
tfrere 183f99a40b feat: title menu revamp, vendored deps, ghost relay fix
- Title menu: split layout with live 3D duck (vitrine-style materialize
  shader), variant-tinted accents, unified boot spinner (assets + font +
  game core), duck hidden on narrow touch screens
- Audio: new WebAudio sound system (sweeps synced to the tron shader,
  per-prop pitch scaling) - shipped disabled via SOUND_DISABLED until the
  sound design is finished; HUD mute toggle commented out accordingly
- Supply chain: MuJoCo, onnxruntime-web and trystero vendored from npm
  instead of jsDelivr/esm.run CDNs (wasm assets bundled locally)
- Ghosts: explicit healthy Nostr relay list; the appId-seeded default
  subset had rotted (dead/blocking/rate-limiting relays), silently
  breaking peer discovery in prod

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 11:41:41 +02:00
RemiFabre 1261013e7e Fix broken and redirected repo links 2026-08-28 14:56:48 +02:00
drenayaz 10c600e54e add sit policy 2026-08-27 12:17:38 +02:00
drenayaz 4f5f26107d update colors 2026-08-27 11:58:52 +02:00
Coralie Deplanne 2462c70587 Update app/src/ui/Hud.jsx 2026-08-27 09:21:51 +00:00
tfrere 2276340406 fix: align colourway palette with website (yellow soles, purple mouth, gray brackets)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-27 02:36:50 +02:00
tfrere 0b7ab61c33 fix: smooth ghost playback for throttled peers
Receiver: per-ghost adaptive playback delay tracking the measured
snapshot arrival cadence (fast attack / slow release), floored at the
current 150 ms for healthy 15 Hz peers and slew-limited so rate changes
glide without popping; arrival stamps are de-jittered so bursty channel
delivery replays as motion. Sender: broadcast + stale sweep moved to an
inline Web Worker clock, exempt from the >=1 s hidden-tab timer clamp, so
backgrounded tabs keep sending at the nominal rate. Wire format unchanged.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 20:09:06 +02:00
tfrere b1fb1e6622 feat: mouse grab-and-drag perturbation (MuJoCo-viewer spring)
Pointer-down on the duck (or the live ball) grabs it: a three.js raycast
picks the body and a spring-damper force toward the cursor - projected on
a camera-facing plane, so lifting works - is written to xfrc_applied
every physics substep. Formula and gains mirror the native viewer's
mjv_applyPerturbForce (stiffness 100, damping sqrt(stiffness), scaled by
subtree mass). Orbit is disabled for the drag and restored on release;
grabbing detaches the chase cam; touch overlay untouched.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 20:08:52 +02:00
tfrere d5db286b9d feat: playable wheee - pentatonic pressure notes, clean release, jaw sync
LT pressure now picks the wheee note on a major pentatonic octave anchored
below the sample's natural pitch (playbackRate glide, constant gain); the
ride plays the loop segment directly so pitch responds from the first
frame. Release cuts the ride like the robot runtime (no end-segment
retrigger). Both triggers open the beak analogically (visual only). Also
fixes LT/RT trigger cross-talk on pads that mirror a combined trigger
channel, and prefers standard-mapping gamepads.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 20:08:41 +02:00
tfrere 61550fb935 fix: bust stale edge-cached bundle URL with new content hash
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 18:26:36 +02:00
tfrere 89f539959e feat: comic-panel HUD, runtime-faithful pad mapping, props + wheee voices
- HUD chrome reworked as comic panels: cream keyline frames with 1px ink
  inset, caption cartouches (NAV / SHOP / COLOR / MODE), inner glass
  padding and square gapped colour swatches
- drop the T relief toggle and B ball-respawn keyboard bindings; gamepad
  Y becomes HEAD mode, A ground pick, LT rides the looping wheee
- decor props row + CRT distortion pass, per-duck wheee voice sets,
  ground-pick and stand policies, updated robot meshes, title menu
  refresh; README controls updated

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 14:38:12 +02:00
tfrere fdc3820099 feat: real-size arcade cabinets + size-adaptive wireframe scan
Cabinets at their real-world 1.73 m height tower over the 0.25 m duck.
The materialization fx now scales with its target: band widths and
stripe wavelength grow linearly with the object's height, the timeline
by sqrt of it (capped), so big props scan as the same effect instead of
a fast flash with hairline bands. Duck and ball sizes are unaffected.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-22 08:57:46 +02:00
tfrere 0a350b6b4f feat: relief as gentle slopes baked into the level itself
Replace the plateau boxes with a MuJoCo heightfield over the arena and
vertex displacement of the grid floor shader, both driven by the same
analytic cosine-bump function so physics and visuals are the same
surface. Raising/sinking ramps one scalar (hfield z-size + uTopoScale
uniform). Trigger still uncommitted: T key or rl.setRelief().

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-22 00:44:50 +02:00
tfrere f04c3a019e feat: arcade row moved to the front wall + toggleable relief terraces (prototype)
The three cabinets now face the player from the +X wall. New prototype:
four grid cells (two mirrored terraces) rise into plateaus on demand -
kinematically driven slide joints, contacts with the world excluded so
the buried boxes don't fight the floor, animated rise/sink at 0.25 m/s.
Trigger is deliberately uncommitted for now: T key or rl.setRelief().

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-22 00:27:33 +02:00
tfrere 5a6547cc18 feat: replace jukebox with a row of 3 arcade cabinets
New arcade.glb (from the user's FBX, texture downscaled to 1024, plus a
500-tri wire stand-in for the hologram pass). Three clones line up
against the back wall facing the arena, staggered in the ceremony, with
one static collision box covering the row.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 23:50:43 +02:00
tfrere cf68a77fcd feat: static collision box for the jukebox prop
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 17:13:52 +02:00
tfrere 3570fe8425 feat: Vite+React+MUI+R3F app shell in app/ (framework-agnostic game core, zustand bridge)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 16:59:30 +02:00