Optimize bg.png conversion without scaling and with correct color mapping

This commit is contained in:
2026-06-23 11:10:17 +02:00
parent f00b533581
commit 0ceae6f98b
7 changed files with 273 additions and 198 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ assets: generate_assets.py
$(PNG2ASSET) gameover.png -c gameover.c -bpp 2 -noflip -keep_palette_order
$(PNG2ASSET) stamina.png -c stamina.c -bpp 2 -noflip -keep_palette_order
$(PNG2ASSET) title_bg.png -c title_bg.c -map -bpp 2 -noflip -keep_palette_order
$(PNG2ASSET) title_bg.png -c title_bg.c -map -bpp 2 -noflip -keep_palette_order -max_palettes 1
hello_iso.gb: assets main.c engine.c
$(LCC) -Wa-l -Wl-m -Wl-j -o hello_iso.gb main.c engine.c tiles.c player.c gameover.c stamina.c title_bg.c