Exist the method same to SDL_SetColorKey

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
MD
Prole
Posts: 10
Joined: Sat Oct 31, 2009 2:56 am
Location: Spain
Contact:

Exist the method same to SDL_SetColorKey

Post 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:
User avatar
napco
Party member
Posts: 129
Joined: Fri Jun 12, 2009 9:28 pm
Location: Ital... ehm...

Re: Exist the method same to SDL_SetColorKey

Post 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.
User avatar
MD
Prole
Posts: 10
Joined: Sat Oct 31, 2009 2:56 am
Location: Spain
Contact:

Re: Exist the method same to SDL_SetColorKey

Post by MD »

Thanks, Yes, I did the same more or less (I did use the gimp to clean the background).
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 50 guests