Game Development Community

How to implement health bar

by SaurabhTorne · in Torque Game Engine · 10/04/2006 (8:23 am) · 5 replies

Hi
is it possible to use health bar to disply other game variables.
I want to use health bar to display temperature but how to make health bar variations? I have a health bar ready but dont know on how to change it.

#1
10/04/2006 (8:42 am)
The health bar is relating information from a variable.
So it should be possible to use the same mechanisim to display your own variables.
#2
10/04/2006 (10:23 pm)
Thank you ,
how do I refer that variable. I want to know the method
is it like :
healthbar.XYZ(%incrementvalue);

Saurabh
#3
10/05/2006 (6:44 am)
Hi again
I found a simpler control, that is the GuiProgressCtrl is very simple. Ooops now only question is can it be used vertically also.
#4
06/29/2009 (10:15 pm)
Yeah U can use vertically also.
#5
06/30/2009 (1:04 am)
thanks but, its an old post