First time here? First time here? Newsletter Signup Newsletter
Login | Register | 651326 Members and growing!
Search tutorials
Author: flash-guru
first, make the main dude, name him "man" now ull need so things to go around, make some guy that go up and down, name him "enemy" now make another movie clip, make it a block, and name it "step" go to the next frame and insert a blank keyframe. make a textbox and make it say somthing like " u lost bad luck". make a button, name it "restart" and place that underneath the textbox. click on the button, go to the actionscript window and type this: on(release) { gotoAndPlay(1) } you can probally guess that when the button is released, go to and play frame 1, therefore restarting the game. go back to frame 1, and start making your maze, but add this code first then copy this mc so u dont have to type it again and again: onClipEvent (load) { movespeed = 10; } onClipEvent (enterFrame) { if (Key.isDown(Key.RIGHT)) { _x-= movespeed; } if (Key.isDown(Key.LEFT)) { _x+= movespeed; } if (Key.isDown(Key.UP)) { _y+= movespeed; } if (Key.isDown(Key.DOWN)) { _y-= movespeed; } } onClipEvent (enterFrame) { if ( (this)) { _parent.gotoAndStop(2); } } now you got your walls and got ur losing window, make another mc, this is gona be ur end-of-the-lv thingy. name this "end" nd put it at the end of ur maze. now add the code above but add this aswell: onClipEvent (enterFrame) { if ( (this)) { _parent.gotoAndStop(3); } } now go and make a blank keyframe at frame 3. make a message saying you completed this lv. make another button, place this under ur message, and this code: on(release) { gotoAndPlay(4) } copy frame 1 and paste it into frame 4, move the blocks around and you have a perfect maze game. but change the code of the block to this: onClipEvent (enterFrame) { if ( (this)) { _parent.gotoAndStop(5); } } copy frame 3 and paste to frame 5, but change the button code to: on(release) { gotoAndPlay(4) }
» Level Basic

Added: 2005-12-05
Rating: 2.71 Votes: 24
(10 being the highest)
» Author
really basic tutorials and basic thigns to make
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!


  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: work2survive
» Title: Girl Walking 1kb
» Description: Walking girl, animation just takes 1kb, using high heels shoes, and fashion model attitude.
Featured Sound Loops
Image for equalize

Audio Player

» Author: BoxCat
» Title: CPU Talk
» Description: From the cyberpunk RPG, "Nameless: the Hackers" Completely Free to use! Keywords: edm hip hop rap electronic mysterious mission hacking chase exciting spy ios ambient chilling love happy sad angry suspense
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: nathan
» Description:

A recorded sound of the Dimensional Fork Gate.