Fading in a gui dialog?
by AzraelK · in Torque Game Builder · 09/01/2006 (2:20 pm) · 3 replies
I finally got my GUI dialog to show and dissapear as needed in the game, but the dialog always _pops_ up. Is there a way for it to gently fade out and in? is not a bitmap so I cant use setAlphaBlend. (I think)
#2
Hmm...are you sure this would do what AzraelK is asking? I'm not sure that will "fade" the entire dialog. After some brief investigation and a few quick tests, I don't think "fading" gui widgets is possible without changing the engine source. I hope I'm wrong though. ;)
09/09/2006 (12:19 pm)
Quote:There is alpha in color of window in gui profile. Just change it in some 'fading' period.
Hmm...are you sure this would do what AzraelK is asking? I'm not sure that will "fade" the entire dialog. After some brief investigation and a few quick tests, I don't think "fading" gui widgets is possible without changing the engine source. I hope I'm wrong though. ;)
#3
09/10/2006 (8:07 am)
I haven't tried it, but maybe a cheesy way to do an effect like this without modifying the engine source is to throw GuiFade___BitmapControls on top of the gui.
Torque Owner Igor Kuryatnikov