Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Flash RPG Part 4: Health and Enemy

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
6,491
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 15, 2008

EASY TO READ SCRIPTS!!!!!!!!!!

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (PivotyPivoty)

  • thx but how do you make the enemy jump?

  • edit its movie clip by double clicking on your enemy and make motion tweens to make him go up and down

  • PLEASE PASTE THE HP BAR CODE PLZ!!!

  • 1.) In Health Bar:

    onClipEvent(enterFrame){ this._xscale = _root.hp; if(_root.hp < 0){ _root.hp = 0; }

    }

    2. In Enemy:

    onClipEvent(enterFrame){ if(this.hitTest(_root.char)){ _root.hp -= (random(5)+1); }

    }

Video Responses

This video is a response to Flash Rpg Part 5: Gravity
see all

All Comments (33)

Sign In or Sign Up now to post a comment!
  • what version of flash are you using?and if you can give me link to download :D you are awesome!pls replay!

  • burrrrrrrrrrrp

  • protip - Notepad is horrible for tutorials, Dont use it, Either that or have the text written down before you start recording so we don t have to wait for you to type.

  • where is part 1, 2, and 3?

  • hey friend what action to move the character and another thing is that the dynamic action of the text??

  • im making a zombie game and everytime the zombie just comes onto the screen, the HP bar goes down. How can I make it so i only goes down when he comes down? Please help

  • No problem, and thanks. I kinda told myself that too, but then I wanted to start making a few months of tests before I got started. And 7 months tests was taken into making an inventory(A RIDICULOUSLY GOOD ONE). FOR PETES SAKE!

  • that would be nice, but im more of a soloist. I told myself that the first game i make will be only by myself sorry. I bet you're a great programmer too.

  • if you want we could try to collab on something. Get aim and fast msg through it? IDK!

  • hah. yea? i kinda stop programming, but i think i might start getting back to it. *sigh* I NEED MY PASSION BACK!!

    i had a slight error lol

    xscale = _root.hp / _root.maxhp *width

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more