Game Development Community

Gradient health bar?

by Rodney (OldRod) Burns · in Torque Game Engine · 11/16/2003 (12:23 pm) · 4 replies

Has anyone changed the health/energy bar to be gradient-filled instead of just a flat single color? If so, how'd you do it? :)

Something like this example is what I'm looking for:

members.cox.net/rodburns/gradientbar.jpg
Thanks!

#1
11/16/2003 (1:06 pm)
You could probably do that by applying a texture map to the fill... it's all done in OpenGL, thus, very easy to tweak.
#2
02/13/2004 (11:06 pm)
Anyone know how to apply a texture map to the fill?
#3
02/16/2004 (8:40 am)
I downloaded the latest Realmwars. They have a texture behind theirs. Makes for a good example to learn from.
#4
02/16/2004 (8:52 am)
Maybe this resource might help you find what you're looking for: www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2031

Matt

Furballz