Files
playableintelligence__game-…/examples/labyrinth
rshtirmer 99b4a9681f fix(labyrinth): improve gyroscope for portrait mobile play
- Invert Z axis (tilt forward now moves ball forward, not backward)
- Screen orientation handling (remap axes in landscape/rotated)
- Better tuning: deadzone 1° (was 2°), max tilt 18° (was 30°), smoothing 0.45 (was 0.25)
- Deadzone subtraction instead of threshold (smoother near-zero response)
- Reset smoothed output on recalibrate to prevent lurching
- Portrait orientation lock attempt on game start
- Landscape warning overlay for mobile users

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 00:31:06 -05:00
..