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.
fix(assets): harden system font and sprite sheet validation master
- Add bitmap length validation and remove silent ?? 0 fallback in SystemFont buildAtlasPixels (fail-fast on corrupt data) - Early-return in BTAPI.drawSystemText for paletteIndex 0 (transparent) instead of ambiguous offset math - Add RangeError in SpriteSheet.fromIndexedPixels for length mismatch - Add #region markers to systemFontData.ts and convert script template - Add bitmap payload integrity test and fromIndexedPixels RangeError test Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Vaclav Vancura <commit@vancura.dev>
Author Vaclav Vancura Co-author Claude Date (Apr 2, 2026, 7:25 PM UTC) Commit 7933c590 7933c590d10f5c52a941ad4fb554c0281ed664d2 Parent 4d689da1 4d689da1bc8c0037244eee85347a5eb3492d0176