2D_Engine_C/assets/asset_builder
Ulysse Cura d40f1943e5 Optimized asset building for speed by adding a buffer in png conversion from rgba8888 to rgb565 2026-08-13 19:05:04 +02:00
..
src Optimized asset building for speed by adding a buffer in png conversion from rgba8888 to rgb565 2026-08-13 19:05:04 +02:00
README.md Moving initialisation values where they should be. 2026-08-03 18:40:40 +02:00

README.md

Asset file structure

Description Length
Assets number size_t (64 bits)
...
Asset name const char * (variable length)
Asset start index size_t (64 bits)
Asset end index size_t (64 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.

Image data is in RGB 565.

Image asset data structure

Description Length
Image width size_t (64 bits)
Image height size_t (64 bits)
Image data depend on image content