Search tutorials
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. Heres 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
}
| » Level Intermediate |
|
Added: 2002-10-01 Rating: 5 Votes: 109 |
| » 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) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


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