Macromedia Flash CS3 Tutorial 4: Making a health bar
Uploader Comments (VampieGames)
All Comments (26)
-
macromedia flash cs3 is not
adobe flash cs3 is sai ......Learn the name
-
for some reason your hp bar code isn't working for me,
flash says that there needs to be an operand after "="
-
what program you use to record????
-
just doubleclick on the enemy and the animate the movement
-
the frame
-
I made a heart with this code:
onClipEvent(enterFrame){
if(_root.char.hitTest(this)){
_root.hp=100;{
unloadMovie(this);
}
}
}
-
stop();
hp = 100;
are actions for the first frame of the file or for the health bar?
-
i'm working through this video as well. So far I've been very happy with them all, so thank you again for sharing! The biggest point of confusion for me is when you put an action in, I can't always tell what you have selected (or worry that i'm applying actions to the wrong thing - like image actions vs frame actions, i suppose). Should I be making a new file for each tutorial, or be using the same one?
-
thanks again
-
If you're working on making your own, I'd take a look at it. But what would be cool if you could help with something like this video is doing, like a tutorial. Share the knowledge!
HP Bar:
onClipEvent(enterFrame){
this._xscale = _root.hp;
if(_root.hp<=0){
_root.gotoAndStop(2)
}
}
VampieGames 2 years ago
hey, i need some help, i did all of these but when i start actualy playing i die when i start, what can it come from?
stickmakerman 2 years ago
have you put hp = 100; in the frame??
hope this helps
VampieGames 2 years ago
HP Bar:
onClipEvent(enterFrame){
this._xscale = _root.hp;
if(_root.hp<=0){
_root.gotoAndStop(2)
}
}
VampieGames 3 years ago