• Mahmoud Aglan's avatar
    feat: ludo — 60fps render loop with offscreen board cache + smooth tween animations · 4f6e3507
    Mahmoud Aglan authored
    - Offscreen canvas caches static board (drawn once, reused every frame)
    - Continuous requestAnimationFrame loop renders pieces at 60fps
    - Piece movement uses smooth parabolic arc tweens (no setTimeout stepping)
    - Enter-from-home uses easeOutBounce for natural pop-in feel
    - All drawBoard() calls now just mark board dirty — next frame picks it up
    - Move preview ghosts pulse smoothly using sin wave
    - Ambient corner glow rendered per-frame (lightweight, no cache needed)
    - Render loop auto-stops on game exit/end for zero resource leak
    - Bot step animation also uses smooth tween system
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    4f6e3507
Name
Last commit
Last update
..
core Loading commit data...
lib Loading commit data...
modules Loading commit data...
engine.js Loading commit data...