Be a Supporter!

making a game and I need some help

  • 295 Views
  • 6 Replies
supermegachaos
supermegachaos
  • Member since: Oct. 11, 2010
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
making a game and I need some help 2010-12-28 21:59:02

Im working on a megaman zero based sprite game and Im wondering how I can give my person a health bar instead of the hearts that deplete. I would love for my person to get hurt instead of getting hit by something and dieing instantly.


sonics my name speeds my game

rassen
rassen
  • Member since: Dec. 3, 2010
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
Response to making a game and I need some help 2010-12-29 05:31:59

At 12/28/10 09:59 PM, supermegachaos wrote: Im working on a megaman zero based sprite game and Im wondering how I can give my person a health bar instead of the hearts that deplete. I would love for my person to get hurt instead of getting hit by something and dieing instantly.

it sounds good.
i love hearth bar more than hearts :)

SocialFailure
SocialFailure
  • Member since: Apr. 2, 2009
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
Response to making a game and I need some help 2010-12-29 10:53:31

Your good enough to draw your own graphics or script your own engine, give up or start learning!

supermegachaos
supermegachaos
  • Member since: Oct. 11, 2010
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
Response to making a game and I need some help 2010-12-29 16:52:11

what a sec Ive got an idea. maybe I will set up an action sprite that only moves frame by frame when you get hurt by something. Then Ill say move to the next frame each time object megaman zero gets colides with an object. dont know if it will work but Im going to try.


sonics my name speeds my game

supermegachaos
supermegachaos
  • Member since: Oct. 11, 2010
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
Response to making a game and I need some help 2010-12-29 17:42:32

im thinking this might work but I cant seem to get the animation to go frame by frame


sonics my name speeds my game

Clickteam
Clickteam
  • Member since: Aug. 4, 2010
  • Offline.
Forum Stats
Member
Level 05
Blank Slate
Response to making a game and I need some help 2010-12-29 19:46:11

If you mean you want to only display one frame in a animation at a time then use the Force animation frame action.

supermegachaos
supermegachaos
  • Member since: Oct. 11, 2010
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
Response to making a game and I need some help 2010-12-29 19:58:31

problem soved I had to make an active object as well as give my zero sprite a alterable value which I called health. I set that to 6 and made it so when he collided with an object the value went down by one. also I sinked each of the frames of the health bar to the specific values on the alterable value called heath and once the value reached zero the object was destroyed and a new one was created with a minus one life value.


sonics my name speeds my game