Can I create an image from something.gif and then make anything that is pink (255,0,255) transparent? Pixel images are easy to edit in MSPaint
Does Love support this (Nothing in the docs)? I know there is a SDL_SetColorKey function.
Can I set a colour key for an image?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Can I set a colour key for an image?
Sorry, LÖVE does not support this. You'll have to use some sort of alpha-capable format. Transparent pixels in normal GIFs may end up as transparent in LÖVE, but I've never actually tried it.
As for SDL_SetColorKey, we're not using SDL_surfaces, so that won't work.
As for SDL_SetColorKey, we're not using SDL_surfaces, so that won't work.
Re: Can I set a colour key for an image?
Ah okay, it was just for convenience really. Transparent PNGs work fine.
Who is online
Users browsing this forum: No registered users and 198 guests