Flashadvisor logo
:: Desktop Shortcut
:: Flash Help
Advices from Experts

 Submit Here! · Link to Us · Newsletter · Tell a Friend ·

      Add Tutorial |

 

Advertise here

Create Speaking Characters for your website and Flash movies. 15 Day Free Trial




PHP Scripts

 

 Home > Tutorials  > Gaming

how to make a laser maze game

Author: Rock jaw | Email


Advertisement


ITEMS

Now from what i know you can only make a few items....more life, 1 point coins, and 5 point coins....you can make different coin values if you want!
-new layer called "items"
-now if you play any good game you will find items in them....so make a new Movieclip with an instance name of "heart"
-in this movie clip, draw a heart
-make another with a small brown circle, call its instance "penny"
-make a bigger circle colored gold, with an instance of "dollar"
-now give this script to the "heart":



onClipEvent (enterFrame) {
if (this.hitTest(this._parent.dude)) {
_root.life += 100;
}
}



-give this to "penny":


onClipEvent (enterFrame) {
if (this.hitTest(this._parent.dude)) {
_root.score += 1;
}
}


-give this to "dollar":



onClipEvent (enterFrame) {
if (this.hitTest(this._parent.dude)) {
_root.score += 5;
}
}



-put the items around your maze where you want them


| 1 | 2 | 3 | 4 | 5 |

Rate This Tutorial :
We hope the information helped you. If you have any questions or comments, please don't hesitate to post them on the Forums section
Submit your Tutorial at Click Here
  

Home | About Us | Contact Us | Feedback | Advertise with us

Best viewed in 800x600 resolution with Internet Explorer.

Site Developed and Hosted by  ethicsolutions.com
All rights reserved with FlashAdvisor

Flash is a registered trademark of Adobe Systems, Inc.

13 users online