Repository navigation
Phase 05 — 3D Physics Roll Mode (BETA)
A real physics-based dice roll, sitting alongside the existing 2D mode rather than replacing it.
Added
- 3D physics roll mode (
@3d-dice/dice-box), marked BETA, switchable per-game from the settings menu — the choice persists to the game itself, not just your browser - Dice are tinted in the current player's color on every roll; the physics engine's own settled values are the real result
- A landing sound per die as it individually settles, instead of one sound lumped at the end
- Respects your OS's "reduce motion" setting — a roll still takes its usual time and plays all its sounds, just without the spatial movement
Changed
- The 3D view is a transient overlay on the existing flat drop area rather than a replacement, so idle state, per-player hand resets, and coin rendering all keep working exactly as before
- Coins (no 3D model exists for them) get their own flip animation and landing sound instead of sitting inert during a 3D roll
- Next-player, Players/Hand navigation, and the roll-mode toggle itself now all disable while a roll is in flight or its result is showing — a physics roll can't be safely interrupted once started
Fixed
- The settings menu staying open after pressing Roll or the roll-history pill
- A second roll briefly showing the previous roll's 3D dice still sitting in their landed spots
- The 3D-to-2D model swap flashing visibly instead of happening underneath the result banner
Full details in CHANGELOG.md.