Game Development Community

Help<Need to make a rage bar>

by Remona Jones · in Torque Game Engine · 06/10/2010 (7:09 am) · 2 replies

How do you code a rage bar in Torsion, I'm new to this.

About the author


#1
06/10/2010 (12:26 pm)
You'll need to provide a LOT more info.

For one thing, "rage bar" means different things to different people.

One thing you can look at is the "energy" bar. You can set the energy bar to a slow, negative growth, but have ways to gain energy when you apply damage.

Just go look at the code for Energy (the player data block has most of the values already set for ya). Play with values and tweak it until it's working well for you.
#2
06/10/2010 (12:35 pm)
Ok thanks