First time here? First time here? Newsletter Signup Newsletter
Search tutorials
Author: Ownage Productions | Website: http://c.1asphost.com/finarial2/

2 Player fighting Game tutorial! Part 2

Step1 Open the .fla file from the last tutorial.
Note: If you missed the last tutorial, view it here. http://www.flashkit.com/tutorials/Games/2_player-Ownage_P-1365/index.php http://c.1asphost.com/finarial2/

Step 2 Draw another stickman on the opposite side of the stage. Click on it and press F8 and make it a movie clip Instance name it player2

Step3 Double click on it and on the first frame of its timeline put in these actions

Step4 Next inside of player2 insert one frame and draw a square, make it a movie clip in the same way as Step 2. Instance name it hit. Set its alpha color to 0%.

Step5 inside of the player2 movie clip start animating a punch on frame 2

Step6 on each different frame of the punch animation move the hit square movie clip to the tip of the player2’s fist.

Step7 put these actions at the end of this animation

Step8 Insert 1 more frame and label it falls in the player2 movie clip. Then insert 2 more frames and delete the hit square on each of these frames. Animate a falling back action as if you just got hit.

Step9 go back to frame 1 of the player 2 movie clip. Lasso the drawn stickman and make it a movie clip put in these actions.
onClipEvent (enterFrame) {if (Key.isDown(83)) {_parent.play(); } }

Step11 Go back to the main timeline and put these actions into the player 1 movie clip.
onClipEvent (enterFrame) { if (Key.isDown(65)) { this._x -= 5; _xscale = -100; } if (Key.isDown(68)) { this._x += 5; _xscale = 100; } }

If you have any questions email me at Masta_Elda@juno.com My site will soon be back up it is currently under construction Old site: http://c.1asphost.com/finarial2/ if you liked this tutorial Check out my site Thanks.

» Level Intermediate

Added: 2006-08-09
Rating: 4.58 Votes: 12
» Author
13 yr olf Flash Masta!!! level 40 night elf hunter! booyah grandma.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!
Featured Flash FLA
» Author: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.