00:00
00:00
View Profile Meditori

1 Game Reviews w/ Response

All 9 Reviews

Helped, but not enough to make it more like a game

I liked it, it helped, it REALLY helped. But one thing, how do I amke it so that he goes to another level, or how do I make it so that when he faces left u hit right and he face right or when the enemy gets near you it makes an ATTACK animation, or can you make it so that I can ATTACK the enemy and kill him or something, please tell me! Thanks, and thanks for the tutorial! Was very useful

Kwing responds:

Fazzle14 left a comment on the page before you asking how to go to another level.

For him facing the right direction, you'd have him facing forward and script like:
if(Key.isDown(Key.RIGHT)){
//Movement script
_xscale=100;
}
and -100 on the left movement. This will flip the Movie Clip accordingly.

For attacking, put in actions to go to an attack animation if a certain key is pressed, like space. Make sure no other script is telling it to go to a different frame in the Movie Clip instead, or it won't play the animation.
if(Key.isDown(Key.SPACE)){
gotoAndStop(attackframe);
}

And some hit square in the attack animation should have an instance name that registers to the enemy to make its health decrease; when its health hits 0, you can have it go to a blank frame in its animation, or use unloadMovie(this); on it instead.

Game creator.

Male

Joined on 12/18/07

Level:
2
Exp Points:
20 / 50
Exp Rank:
> 100,000
Vote Power:
1.98 votes
Rank:
Civilian
Global Rank:
> 100,000
Blams:
0
Saves:
0
B/P Bonus:
0%
Whistle:
Normal
Medals:
5