[Tips] Create HP bar for your game

Posted:
Sat Nov 20, 2010 7:26 am
by Chai
Here is the file how you create HP bar for your game.
in the Example press left or right to increase or decrease your Hp point
Re: [Tips] Create HP bar for your game

Posted:
Sat Nov 20, 2010 8:09 am
by skydereign
The only improvement I'd make is using the nframes variable, and perhaps a #define setting the max hp. That way the draw of the hp bar is completely hands off. nframes holds the number of frames in the current animation, so exactly what 40 did. Thanks for posting this, forgot to make the ged I posted for Wertyboy dynamic.
Re: [Tips] Create HP bar for your game

Posted:
Sat Nov 20, 2010 5:42 pm
by DST
viewtopic.php?f=6&t=5756Use only one image to make a meter - simpler this way.