Game Development Community

I need to know how to set transparency around a sprite

by Robert Whitworth · in Torque Game Builder · 05/31/2009 (3:44 pm) · 4 replies

I've noticed in the Fish Game demo that the sprites all have transparency set correctly around them. Using alpha channels, how exactly would I do that? Would I place my sprite on the second(top) layer, and set the alpha channel for transparency for the bottom layer? Is there a way to set the alpha channel around the sprite on the secondary layer for transparency?

About the author

Recent Threads


#1
05/31/2009 (4:13 pm)
The alpha channel is part of the base sprite already.
You can't do alpha blending with distinct alpha channel textures.
#2
05/31/2009 (8:27 pm)
When I read the manual for the Gimp graphics program they seem to imply that you can use their program to make parts of each layer invisible. Is there something different I'm supposed to do to make transparent pixels?
#3
06/01/2009 (6:02 am)
I use the color to alpha conversion, make everything you want transparent to be white, select it and apply the conversion.
#4
06/01/2009 (4:32 pm)
The programs I use default to transparent backgrounds, but the magic wand can usuallu select the surroundings and cut away coloured backgrounds.