T2dScreenGraph. Does that class have a blend colour field?
by Kevin Epps · in Torque Game Builder · 02/26/2007 (9:13 pm) · 4 replies
I want to try to do a fade to whatever color I want for the screen itself. Is there a way to do that with the t2dsceneGraph class? Or do I need to just have a colour rectangle and write code to fade that object in/out?
About the author
#2
02/27/2007 (5:09 am)
How can I use particle effects for this?
#3
I would use a single imagemap thats white.
Scale it to the size of the screen, put it on the front layer and use the blendColor functions to make it black and alpha 1 and fade it out slowly (alpha toward 0) with changing colors.
Very simple to achieve through schedules :-)
At least if I understood your question correctly.
02/27/2007 (5:13 am)
I wouldn't do any of both.I would use a single imagemap thats white.
Scale it to the size of the screen, put it on the front layer and use the blendColor functions to make it black and alpha 1 and fade it out slowly (alpha toward 0) with changing colors.
Very simple to achieve through schedules :-)
At least if I understood your question correctly.
#4
I was thinking of just taking that route. I I already have the functions that can do that. to sceneobjects. I could even add a layer parameter to the function.
Thanks, Guys for your help!
02/27/2007 (5:16 am)
Yeah, I was thinking of just taking that route. I I already have the functions that can do that. to sceneobjects. I could even add a layer parameter to the function.
Thanks, Guys for your help!
Torque Owner Igor Kuryatnikov