Progress Bar
by MrSpaceGame · in Torque Game Builder · 07/01/2012 (2:49 pm) · 1 replies
How do you grow it or change the color of the grow?
The documentation ain't telling anything about that...
The documentation ain't telling anything about that...
Torque Owner Alpha-Kand
Hunter's Meadow
To have it all one color what you could do is have a white bar with color blending to (what ever colors I'm just using green and red) a high green value and as you stretch the bar you change the blending or increase the red value. Have the green value directly inverse the red.
If you want it the other way that'll take some thought on my part...
EDIT:
Here are some sprite changing functions.
setSizeX(float width)
setSizeY(float height)