So, I'm working on a game called Essence Of Divinity (see my 2nd news post for a long list of what to do and whats done)
And I ended up finishing the perfect 'health bar' in just about 30 min.
This health bar at full health is always at 150 pixels, but depletes not per pixel, but an equation that goes based on how much health the character can have total (the numerical number you put into the input text box) and how much health is left.
Press Enter to confirm the amount of total health in the input text box.
Press Space to deplete you current health by 1 per frame.
Note: The value you enter CANNOT have spaces, it glitches =P
And for those w/ flash not open,
the .swf =)
Now I know this wasn't worth making a new topic, so here's something I just wanted to show ppl. Do w/e you want w/ the code, I used the mathematic equation to convert values to come up w/ the pixel value of the current health, if you need help w/ understanding it, just pm me.