Skip to main content

Module tilemap

Module tilemap 

Source
Expand description

Game Boy Advance-style tilemap with 16-bit metadata per tile.

This module provides TilemapEntry and Tilemap as an upgrade over the classic GB format (1 byte per tile, index only). Each entry carries flip flags, palette bank selection, layer priority, and optional collision/animation data — sufficient to drive modern tile renderers without external lookup tables.

Structs§

Tilemap
A two-dimensional tilemap using TilemapEntry instead of raw byte indices.
TilemapEntry
A single entry in a tilemap, supporting 16-bit-style metadata.