Game Development Community

Making a sprite have a transparant background color in TGB

by Josias Gibbs · in Torque Game Engine · 08/08/2008 (7:03 pm) · 2 replies

I have a static sprite in Torque Game Builder which has a black background. How do I make that background transparent (ie: make all black pixels transparant)? I'm assuming there's an easy way to do this, I'm just not sure how.

#1
08/08/2008 (9:03 pm)
You don't do that in TGB, you do that in your art itself. Eg. erase the blackground so it IS transparent, save it as a png with transparency.
#2
08/09/2008 (12:14 am)
TGB keeps the alpha settings of PNG's?!?! That's the best news I've heard in years! Thanks.

Thanks for all the info.