2D_Engine_C/assets/asset_builder
Ulysse Cura c730276f82 Changed asset file rgb format to RGB565 and only F81F as the tranparent color. And corrected offsets. 2026-07-22 02:51:33 +02:00
..
src Changed asset file rgb format to RGB565 and only F81F as the tranparent color. And corrected offsets. 2026-07-22 02:51:33 +02:00
README.md Starting to add png files into game.data. 2026-07-18 17:17:29 +02:00

README.md

Asset file structure

Description Length
Assets number int (32 bits)
...
Asset name const char * (variable length)
Asset start index int (32 bits)
Asset end index int (32 bits)
...
Asset data depend on assets content and number

PNG

Convert RGBA to RGB with #FF00FF as the transparent color. If alpha null then the color of the pixel will be replaced with this.