00:00
00:00
Newgrounds Background Image Theme

yampots just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Reviews for "Street Fighter Tut.Fixed!"

kay

But you should also go to the part on how does it attack. I mean, if you do it, you punch, but not hit.

good tutorial

its a pretty good tutorial, to start of a fighting game (it's not enough to make a complete (and good) game). The only thing i didnt like was the music, but maybe its just my taste. I have a little suggestion though. When you hold the right button(or left) and you keep holding that when you punch or kick, there's no animation (no walking, no punching/kicking) that can be solved by:

your code:
if(Key.isDown(Key.RIGHT)){
this.gotoAndStop(2);
this._x += speed;
}

how i would do it:
if(Key.isDown(Key.RIGHT) and Key.isDown(Key.SPACE)){
this.gotoAndStop(2); //frame where the punch/kick animation is
this._x += 0;
}else if(Key.isDown(Key.RIGHT) and !Key.isDown(Key.SPACE)){
this.gotoAndStop(1); //frame where the walk animation is
this._x += speed;
}else if(!Key.isDown(Key.RIGHT) and Key.isDown(Key.SPACE)){
this.gotoAndStop(2); //frame where the punch/kick animation is
this._x += speed;
}

because this script gives all the variations for one movement it will always have an animation. And it will look better then just a moving image. (this stuff makes it more advanced)

dylanjones responds:

I dont see how that would work? and you mean && and why Space? send me an email, i want to understand! :D

Odd topic for a flash animation.

But nicely done nonetheless. However, Newgrounds doesn't strike me as site that should take on this animation. Is there a 2-D fighter site you can load this on to?

nice but make it more simple next time

it was a really good tutorial but you could add another character to fight and
it also would be nicer if you make it more simple and clear.

decent tutorial, i have to give you at least 3 and half star because this is written in 2005, there are many things in this tutorial missing.

a) You can just hit Z and press forward and Z to just punch like superman so he never has to go through the whole action
b) hold down Z and press Right key, you slide across because the character is trying to perform an animation and walking at the same time, it needs "if key is down and key is down, _x+=stop; where variable for stop would be that speed to stop the character in its tracks.
c) the walking animation should not have to finish looping it's unnatural, you should make it so if key left is down play animation ablablbal else if key right play animation ablbalabl ELSE goto stance, so that if the Key is not DOWN! it goes straight to the stance, that way he's not walking in stationary through that animation
d) and the gravity is missing..

other then that my friend the tutorial is amazing! to learn the basics of AS not AS3 though, im still learning that haha it's a new world for me trying to program so strict!