Tilengine - The 2D retro graphics engine forum

Full Version: remove single color from tileset background
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
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?
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
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.
oh i think i understand now thanks!