SFML community forums

Help => Graphics => Topic started by: Frostbite on December 08, 2009, 06:14:04 am

Title: Creating sprites with different levels of transparency
Post by: Frostbite on December 08, 2009, 06:14:04 am
Hey, I'm back. Anyway I'll get straight to the point, its not an error, its a question. I have a sprite that is a small sphere and I would like to have it so the fringes are slightly transparent,. Is there any way to do this? I noticed that when I draw it, it is either all the way transparent or it is fully colored. it is a .png and is drawn perfectly in GIMP =)
But yea, not to important of a question, just a wondering
Title: Creating sprites with different levels of transparency
Post by: Laurent on December 08, 2009, 08:11:06 am
The solution is to edit the alpha channel of your image directly in GIMP.
Title: Creating sprites with different levels of transparency
Post by: Syphod on December 08, 2009, 07:43:59 pm
Save it as a 32-bit PNG (24-bit may work either but I cannot garentee)