ftsf / nico

a Game Framework in Nim inspired by Pico-8.
MIT License
624 stars 35 forks source link

LCT_RGB .png files never loaded. #84

Closed xaqbr closed 2 years ago

xaqbr commented 2 years ago

On macOS 11.1 with latest master build, .png files with LCT_RGB type never get displayed (or used, seemingly) when loading them as spritesheets. Only LCT_RGBA is accepted. Maybe this is an issue caused with how I'm exporting the .png?

LCT_RGB ignored:

image

LCT_RGBA accepted:

image
ftsf commented 2 years ago

Yep, I can confirm this is an issue, I'll fix it, but I would suggest you use either paletted spritesheets or RGBA spritesheets for since color 0 is transparent.