Game Development Community

Change colors of GUI objects during runtime

by Kevin Epps · in Torque Game Builder · 04/12/2007 (11:41 am) · 1 replies

Is there a way to do that? What I'm trying to do is like do a color fading affect for a progress bar.

Like it would start with the color white, then fade to yellow, then fade to red, then back to white and repeat. Something like that.

#1
04/12/2007 (1:06 pm)
I've figured it out.

gui_name.Profile.fillColor = "255 255 0 150";