Health Bar
by Steven B · in Torque Game Engine · 02/15/2006 (8:29 am) · 4 replies
I did a search for health bar and health and I didn't find my answer there.
I want to make a health bar like the one in Splinter Cell, kaos theory.
An idea on how to do that would be good but my main problem is
that I am using the FPS starter kit and I am trying to replace the
health bar image.
I have replaced the healthbar image but it is not showing the health status
because it is covered up by the image I am using.
I need to know how to make an image like that where the
center of it is gone to show the health status.
I have been trying and just can't get it.
If you can help thanks.
I want to make a health bar like the one in Splinter Cell, kaos theory.
An idea on how to do that would be good but my main problem is
that I am using the FPS starter kit and I am trying to replace the
health bar image.
I have replaced the healthbar image but it is not showing the health status
because it is covered up by the image I am using.
I need to know how to make an image like that where the
center of it is gone to show the health status.
I have been trying and just can't get it.
If you can help thanks.
About the author
www.AnswerRack.com Ask Questions There, Get Answers. You can Ask a Game Development Question You can Ask A Mechanic A Question. Ask just about anything.
#2
now I have just outlines of the
2 figures, just like somebody
traced around the outside of the
figures.
02/16/2006 (5:58 am)
I did what the tutorial said andnow I have just outlines of the
2 figures, just like somebody
traced around the outside of the
figures.
#3
one of them an outline of your player and another one is a filled in version of your player.
As you player gets hurt, the background (filled) image drains away.
There are two types of health bar in that resource.
1 is a health bar which gets smaller as you lose life.
The other is a damage bar which grows as you take damage.
Just a matter now of putting your GUI elements together. Replacing the crude images from the resource with the cool images for your game.
If this isn't quite what you wanted (I've never played Splinter Cell) then perhaps you could make a screenshot showing what you're trying to achieve.
02/16/2006 (6:28 am)
OK. Now you just need 2 images.one of them an outline of your player and another one is a filled in version of your player.
As you player gets hurt, the background (filled) image drains away.
There are two types of health bar in that resource.
1 is a health bar which gets smaller as you lose life.
The other is a damage bar which grows as you take damage.
Just a matter now of putting your GUI elements together. Replacing the crude images from the resource with the cool images for your game.
If this isn't quite what you wanted (I've never played Splinter Cell) then perhaps you could make a screenshot showing what you're trying to achieve.
#4
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=9865
02/23/2006 (8:52 am)
Steven, try this one:www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=9865
Torque Owner Jason Farmer
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2031
It's really easy to implement too. May need minor tweaks to get it working with 1.4, but nothing massive and it's all explained in the thread.
Hope this helps.