Be a Supporter!

Health Bar Coding Help

rated 1.79 / 5 stars
Share Links:

Click on an icon to vote on this!

Credits & Info

Jan 1, 2012 | 5:49 AM EST

If you liked this, check these out!

Author Comments

As I said, this should help you understand a bit more on coding health bars. As you click on a button you should hear a little sound effect, I added that so it wouldn't seem plain. The codes can be copied, but please give me credit for the codes if you use it for s public Flash, just my username. So anyways, I hope you enjoy my Flash Tutorial... and good luck!



Rated 4 / 5 stars



Rated 2 / 5 stars

Needs Lots of Work


You should consider adding more lessons to this instead of just health bar coding. In fact, try more advanced concepts other than health bar coding, perhaps collision detection.

Consider showing the entire setup for the health bards, not just the code. If you're going to make a tutorial, people need to see all the steps, not just small snippets of code.

Returning to the title is a moot operation.

Also, since health bars can be visually presented in various ways, you should consider lessons for some other common ways bars bar can be represented.

Upgrade to AS3; AS2 is deprecated. Also, get rid of using the MovieClip object for this. I've the MovieClip abused so many times, mostly due to lazy programming or lack of good design principles.

The SylphalBK label changes my mouse in the hand pointer when I move over it, giving me the impression that I can click on it. However, when I do, nothing happens.

- Ziro out/

People find this review helpful!
SyphalBK responds:

Thanks for the advice, the button with my name on it was supposed to open my Newgrounds page.
I would love to do AS3, but I don't know anything about it. Anyways, thanks for the help, Syphal out. :3