@al8b/map
v0.1.14
Published
Tile map data structure and renderer integration for L8B. It handles serialized map payloads, sprite references, cached canvas output, and animated tile rendering.
Downloads
71
Readme
@al8b/map
Tile map data structure and renderer integration for L8B. It handles serialized map payloads, sprite references, cached canvas output, and animated tile rendering.
Public API
TileMapLoadMapUpdateMapSaveMap- Type:
MapData
Notes
- Depends on
@al8b/spritesfor sprite-backed tile rendering. TileMapis browser-oriented and can fetch map assets viaXMLHttpRequest.
Scripts
bun run build
bun run test
bun run clean