Commit History
-
Minimap mobile scaling, countdown pop-in, reduced-motion a11y
seawolf2357- style.css: scale #minimap to 0.62x on max-width:640px so it no longer overlaps the right-cluster touch buttons; add countdownPop keyframe and prefers-reduced-motion support. - js/game.js: add setCountdown() helper that restarts the pop keyframe on each digit change so 3->2->1->GO! punches into view.4b19933 -
Polish UI/UX: loading veil, pause/touch refinement, best-lap celebration
seawolf2357- index.html: sunset-gradient loading veil covers the black canvas while the three.js module resolves; faded out on the first animation frame. - style.css: drop unloaded 'Racing Sans One' in favor of Orbitron, hide keyboard hint on touch devices, scale HUD gauge/overlay on narrow viewports so they no longer overlap the on-screen steering buttons, subtle full-frame vignette, loading-veil sunset gradient + dots keyframes, and the toastGoldIn keyframe used by new best-lap toast. - js/game.js: fade loading veil out on first frame; backdrop blur on the pause overlay; .pause-btn gets :active/focus-visible + hover lift; .touch-btn gets tap-highlight removal, smoother transitions, brighter .pressed state; showToast() gains a 'gold' variant used by the NEW BEST LAP path for a scaled gold-glow celebration. No gameplay/physics/logic changes.924b98d -
Add Tier 1+2 features: pause, nitro, ghost car, camera modes, touch, best lap
## Fixes (Tier 0) A1: Delete unused main.js (1988 lines / 71KB dead code) A2: Replace /api/telemetry fetch with localStorage (server didn't exist) - Added loadBestLap/saveBestLap helpers - Added loadGhost/saveGhost helpers (500KB cap) A3: Fix outdated '270 km/h' AI comment ## Tier 1 (Core UX) B2: Best lap tracking persisted to localStorage - New-best toast + lap notification with time - HUD shows star BEST label - Results screen shows last lap + all-time best B6: Pause menu (ESC/P key) - Overlay with Resume/Restart/Camera/Ghost/Fullscreen buttons - Clock delta reset on resume to avoid dt spike B7: F key fullscreen toggle ## Tier 2 (Premium) C1: Ghost car (translucent cyan replay of best lap) - Samples position/heading every 0.1s during current lap - Saves to localStorage when new best set - HUD shows live +/- delta to ghost - Toggle with G key C2: Nitro boost (SHIFT / mobile button) - 2.5s duration, 12s recharge - 1.35x top speed + …034bdc8
-
Update README.md
Verified signature06c3957 -
Add GLM-5.1 model link to README
efff347 -
Add car racing game
66242a7 -
initial commit
Verified signaturea786a62