Page 1 of 1

Exist the method same to SDL_SetColorKey

Posted: Sun Nov 08, 2009 11:34 pm
by MD
Hi.

I have begun to learn the love. And I have a test that it has a image with a blue background. Well I read the doc for search a method to set transparent background in image, but I didn't find.

My question is, are there a function as http://www.libsdl.org/cgi/docwiki.cgi/SDL_SetColorKey in love?

Thanks. Bye. :nyu:

Re: Exist the method same to SDL_SetColorKey

Posted: Mon Nov 09, 2009 12:26 am
by napco
Download Irfanview (it's a free image editing program), and when you're saving a .png image you can choose transparent background by checking a box and clicking on the color you want to become your "colorkey". I had the same problem time ago.

Re: Exist the method same to SDL_SetColorKey

Posted: Mon Nov 09, 2009 12:28 am
by MD
Thanks, Yes, I did the same more or less (I did use the gimp to clean the background).