Dynamic Health

by Aistarin


Posted on April 25, 2007 at 6:45 PM



This is a simple heath bar example that I whipped up in an hour. Its based off the health bar in Metal Gear Solid 3, where if a character is seriously injured, a red area would appear on the health bar, in which the health cannot heal past that red area. The only way to get rid of the red area is to pick up a first-aid kit (where as they only treat the injury, not heal it).

Today in serious games, if a character is injured, regardless if they either get shot, break a leg, or get cut, a simple vial of potion or first-aid kit would heal the wound immediately. This isn't the case in this. A first-aid kit only treats and stabilizes an injury, but doesn't recover any health, strength or energy. Instead, the player needs to wait to recover all of his or her health or drink a healing potion for faster recovery.

Click on the crossbones to simulate a less serious injury, such as drowning or being punched.

Click on the gun and knife to simulate a more serious injury that can't be healed through normal means, such as breaking a bone or getting shot.

Click on the bottle to quickly replenish the health bar.

Click on the first-aid kit to recover from any injuries sustained.

These actions can be triggered through the 1-4 number buttons.

No credit needed, since this is too simple.

UPDATE 6/23/07
LAR Games took the liberty of making a GML version of my example. Both the DnD version and the GML version are in the ZIP file. Yay!



Astro Haggis commented April 25, 2007 at 6:54 PM
Wow! First Comment! Oh, and this example is pretty good - I'll give you an 8!
Alert Games commented April 25, 2007 at 7:03 PM
It's alright. Quick example.
s commented April 25, 2007 at 7:39 PM
Its good for a health example,though the DnD is srta a downer
Its also srta simple to make,though its a nice concept
HeroofTime55 commented April 25, 2007 at 9:39 PM
How is drowning a "less serious injury?"
Crane-ium commented April 25, 2007 at 11:29 PM
Click on the crossbones to simulate a less serious injury, such as drowning or being punched.
Quote
How is drowning a less serious injury? If you were drowning, that'd basically be instant death...whatever...

Basically, this is too simple. There should be more added into the example...I don't know what, but that's for you to come up with...

I guess this is at least original...8/10...
JoshDreamland commented April 26, 2007 at 9:32 AM
Weird

It's very small though, and takes all of four minutes to code, so I can tell you now I'll never use it, but it is a nice thing to play areound with.

8/10
Grand-High Gamer commented April 26, 2007 at 4:22 PM
'How is drowning a "less serious injury?"'
QFT.
Aistarin commented April 26, 2007 at 4:58 PM
I called this Dynamic Health because to me, its a lot less boring than the health bars that just go up and down. Drowning is a less serious injury because it doesn't need to be treated with stitches and bandages. I will release a newer version of this in the future.
Radnom_Games commented April 27, 2007 at 10:42 AM
Haha, you should see the 'non- serious accident' form at my work in the kitchen. It has a check-box for 'fatal'.
Dragonos commented April 28, 2007 at 12:52 PM
Pretty well made, but DnD is not my favorite...
7/10
Jaxx commented April 28, 2007 at 10:12 PM
Wow this is GOOD. If you havent played MGS3 you wont understand. Deadly-10/10
blah commented May 02, 2007 at 4:52 AM
Works fine, but I wouldn't really use it myself. More complications than needed for a game, unless its like an important part of the gameplay.
StopThatGuy commented May 14, 2007 at 7:24 AM
If you were drowning, that'd basically be instant death...
Quote
Drowning isn't an instant death, when you don't get oxygen, you go unconscious, during your state of unconciousness, your body tries to get in air and breathes for you during this state.

If you're in water, your body can't get enough oxygen because theres VERY little oxygen in water, so you breathe in water and it prevents your body from automatically breathing. So your cells don't get enough energy and your brain gets a message to shut down, thus death.

Yeah, uh... Sorry for acting like a smartass just then X.x

This example is alright, the DnD made it lose itself some rating points from me.
Overall though, I say 7/10, its not bad.
Twix commented May 20, 2007 at 1:20 PM
Nice example 9/10.
PY commented October 04, 2007 at 6:03 PM
When you go unconscious, your body does -not- try to got to air. If you're lucky, your natural buoyancy will save you.
Ferret commented April 30, 2008 at 1:58 AM
When you go unconscious, your body does -not- try to got to air
Quote
thats very untrue, the whole point of going unconscious is so you body can fall flat, even out the blood, and take in as much air as possible. being unconscious is when your most venerable to death.

it's a good example, i would have had the health work differently, a lot differently, but I guess anyone that wants to can edit it... 8/10
Zappix commented June 27, 2008 at 10:54 PM
Noice :D