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.
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
Lol :P yeah i know it. I did 7 months of experimenting and now found out how to make by far the best inventory system ever on flash. Seriously I have never seen anyone do it.
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.
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!
umm idk if i can be a help but, after making your death frame put a stop() code on it then, look at your code on whatever is gonna make it go to the death screen such as if(_root.hp <=0){
what version of flash are you using?and if you can give me link to download :D you are awesome!pls replay!
chocolatefrogs100 9 months ago
burrrrrrrrrrrp
MrAnonymous9898 1 year ago
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.
lukieie 1 year ago
where is part 1, 2, and 3?
ZzX42 2 years ago
hey friend what action to move the character and another thing is that the dynamic action of the text??
yefferman 2 years ago
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
magicphonebooth 2 years ago
THE FRICKEN HP WONT GO DOWN!
RifleJay 3 years ago
5:45
cracaboi 3 years ago
ok umm, about the health bar, can you make it where its the same bar size as the hp grows like, hp=100 and hp=500. its going to be different sizes
LaotianPride14 3 years ago
You basically say that the xscale = _root.hp / 5, that way the hp will be 500, but the width will be 100 and still work fine.
Manifest222 2 years ago
lol, after those 6 months since i posted that comment, I found out myself that you can do it with any other widths. example.
width= IT DOESNT MATTER :D
hp= 20
maxhp= 35
xscale = _root.hp / _root.maxhp
i luv experimenting :]
LaotianPride14 2 years ago
Lol :P yeah i know it. I did 7 months of experimenting and now found out how to make by far the best inventory system ever on flash. Seriously I have never seen anyone do it.
Manifest222 2 years ago
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
LaotianPride14 2 years ago
if you want we could try to collab on something. Get aim and fast msg through it? IDK!
Manifest222 2 years ago
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.
LaotianPride14 2 years ago
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!
Manifest222 2 years ago
how do u make it so at 0 hp u go to the next frame?
WiiGamePlayer 3 years ago
lol
if(_root.hp <= 0){
nextFrame()
}
LaotianPride14 3 years ago
what if i have game with score and i want it to go to next lvl/frame anfter it reaches certain lvl
jemar200 3 years ago
onClipEvent(enterFrame){
if(_root.*instance name*<=*the number you want it to go to the next level at*){
_root.gotoAndStop(*frame number of next level*);
}
}
put on pretty much any movieclip
PS. where it says *'s dont put the *'s there, just put what the inside text tells you to do, if this helps sub and check out my flash vids!!
VampieGames 3 years ago
where do you put that code?
please help!
xPivotFTWx 3 years ago
THANK YOU!!!!
thedrawyer 3 years ago
mmm...i cant make death screen.i dont now why.
can somebody help my.
asxproduction 3 years ago
umm idk if i can be a help but, after making your death frame put a stop() code on it then, look at your code on whatever is gonna make it go to the death screen such as if(_root.hp <=0){
gotoAndStop("death") ***or whatever frame it's on***
}
hope this is a help
***I'm still a newb***
LaotianPride14 3 years ago
please can you give a detailed discription on how to make the enemy move because i cant figure out how to do it
other than that everything worked. Keep it up
dannywfilms 3 years ago
how do i make it so it is that if i die it goes to anoth page saying your dead...
Jagatia 3 years ago
plz give credit ok?
put the frame of the deatch message in the ()'s
onClipEvent(enterFrame){
this._xscale = _root.hp;
if(_root.hp < 0){
_root.hp = 0;
gotoAndStop();
}
}
MrMakeman 3 years ago
ok mine needs work a little but once u figur it out post again
MrMakeman 3 years ago
wait it probly works if your not useing MX
MrMakeman 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
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