Game Development Community

Alpha transparency

by Roi Hojgaard · in Torque Game Engine · 08/04/2007 (12:00 am) · 2 replies

I made a new "health patch" object in max, exported to dts. It has a nice transparent flare around it. Looks like this:

http://www.kjak.fo/Flare.jpg

The problem is, that when the health patch reappears, after it has been used by someone, it doesnt have the transparency, while it is fading in to view. Like this:

http://www.kjak.fo/Flare2.jpg

So it looks awful for a while - until the fading is complete - then it's back to normal. I am using .png textures with alpha channel.

Any way to fix this?

P.S. Is it possible to show pictures here in this page, instead of linking to them?

Thanks

#1
08/04/2007 (12:20 am)
I don't know how to solve your transparency problem, but linking images is done by surrounding the url to the image with the word image in brackets like so (but without the spaces):

[ image ]http://www.kjak.fo/Flare.jpg[/image]

[ image] http://www.kjak.fo/Flare2.jpg[/image]

looks like:

www.kjak.fo/Flare.jpg
www.kjak.fo/Flare2.jpg
#2
08/04/2007 (12:27 am)
Great, thanks!