Flash RPG Part 4: Health and Enemy
Uploader Comments (PivotyPivoty)
Video Responses
All Comments (33)
-
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
thx but how do you make the enemy jump?
nakamura320 3 years ago
edit its movie clip by double clicking on your enemy and make motion tweens to make him go up and down
PivotyPivoty 3 years ago
PLEASE PASTE THE HP BAR CODE PLZ!!!
nakamura320 3 years ago
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); }
}
PivotyPivoty 3 years ago