Tilengine - The 2D retro graphics engine forum
remove single color from tileset background - Printable Version

+- Tilengine - The 2D retro graphics engine forum (http://tilengine.org/forum)
+-- Forum: English forums (http://tilengine.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (http://tilengine.org/forum/forumdisplay.php?fid=7)
+--- Thread: remove single color from tileset background (/showthread.php?tid=1009)



remove single color from tileset background - INVOKER - 01-03-2021

Hello, i really cant seem to figure this out and i went through the samples and documentation trying to find a way to remove the background color of tilesheets. is there a function to do this? or some parameter im missing?


RE: remove single color from tileset background - megamarc - 01-03-2021

Hi,
Tilesets (and spritesets) don't have a background color, palette index 0 is always transparent so you can see the layer below cut through it. All sample assets are done this way. What problem are you experiencing?


RE: remove single color from tileset background - INVOKER - 01-03-2021

i think this is me misunderstanding how the sprites are structured, i have a magenta background on the sprites and was wondering how to key that out, or ignore it


RE: remove single color from tileset background - megamarc - 01-04-2021

That magenta is a placeholder, index 0 is always transparent no matter what actual color it holds. Have you run the samples to check it? Those magenta pixels are never drawn.


RE: remove single color from tileset background - INVOKER - 01-04-2021

oh i think i understand now thanks!