Internet Commerce

Partners & Affiliates














Developer Channel

internet.com


Tutorials Home What's New Top Rated Submit myTutes Random!

Search Tutorials


Tutorials Tutorials » Games

Categories Flash Labirynth
Author: Petar Svarc | Website: www.adventurestudios.net |

 
Page 4
«prev 1 2 3 4 5 next»

Step 4.

The common practice is to create the control layer, containing an empty MC which holds only the actionscript for the control of game flow. Here’s the code that the control MC contains (the comments within the code should make it clear enough):
onClipEvent(load)
{
 step = 5;    //the speed of movement can be easily adjusted by changing this variable
 ok = true;  //used later on in collision detection
}

«prev 1 2 3 4 5 next»

» Level Intermediate

Added: : 2002-10-01
Rating: 4.66 Votes: 107
Hits: 3569
» Author
Works as a Flash and Director designer/programmer and video editor at AdVenture Studios in Bulgaria.
» Download
Download the files used in this tutorial.
Download (38 kb)
Get conversion and unzipping tools for PC and Mac here!

» Forums
More help? Search our boards for quick answers!

Please rate this tutorial, 10 is the top rating, you can also click the comments link to read/write a review.
10 9 8 7 6 5 4 3 2 1
Read or Post Comments
 
   
 


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers