Game Development Community

Is there a way to have GuiFadeInBitmapCtrl Fadeout only

by hbomega · in Torque 2D Beginner · 08/29/2013 (10:21 pm) · 2 replies

i am trying to get my main menu to fade out to black after the new game button is clicked would i have to write my own fadeout function

#1
08/30/2013 (5:08 am)
If your main menu is a SceneObject, you will have to implement your own "fade to black" function.

If your menu is a GUIControl composed of child gui controls, you can place a GuifadeinBitmapControl with a fadeintime of 0 and no bitmap over all the other controls. This will effectively fade to black and cover all the GuiControls beneath it.

You could of course mix and match methods, T2D's greatest strength is its versatility; many ways to get to the results.
#2
08/30/2013 (9:24 am)
Thanks Simon got it