Something went wrong. Try again.
A WebGPU retro game engine for TypeScript, inspired by RetroBlit. Build pixel-perfect 2D games with a clean, fantasy-console-style API.
Something went wrong. Try again.
feat(assets): cap sprite and bitmap font asset dimensions master
Add AssetLimits aligned with render configuration (8192 per side, 16M pixels). Reject oversized images, indexed buffers, and .btfont payloads before canvas readback, buffer retention, or GPU allocation. Validate glyph metrics and clip unsafe software sprite blits. Document limits and throw AssetLimitError with centralized Tier 1 messages. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Vaclav Vancura <commit@vancura.dev>
Author Vaclav Vancura Co-author Claude Date (May 17, 2026, 11:02 AM UTC) Commit 65630d9b 65630d9b3b9e39aa115c9a8157cfd5fbc0cef237 Parent b81333de b81333de3d3c0baa9aa755dd99df03e1daaf89e9