Autonomous Motion
Project focuses on setting an object (bob) in motion using code alone
— and the enterFrame event. You could call it "behavior." |
resource link
|
Variable as Trigger
Make bob move again, but this time, use a variable of the global type
to trigger his flight. |
resource link
|
Setting Boundaries
Games have to have boundaries, or you'd never get anything done. |
resource link
|
Using Boundaries to add Behavior
Once you set up code, you can build on it to make more things happen. |
resource link
|
Detecting Collisions
Here's the biggie … element interaction is the key to many kinds
of games. |
resource link
|
Switching Out Objects on Collision
This completes the "Detecting Collisions" tutorial above
|
resource link
|
User Input on Keypad
Get the user into the game.
|
resource link
|
Scoring on Collision Detection
Completes the thrill of detecting collisions: now you get credit for
it!
|
resource link
|
"Randomizing" Behavior
Using local variables and Flash's "randomizing" functions, make give
the bob's some individuality.
|
resource link
|
Add a Sense of Direction
Often, you'll want to "point" an object in a certain direction.
|
resource link
|
Using a Timer for Assessing Win/Loss
How to construct a "mechanical" timer to add drama to a game. |
resource link
|
duplicateMovieClip: Send in the Clones
The Swiss Army knife of methods when it comes to games, duplicateMovieClip
allows an mc to be copied and displayed many times over. |
resource link
|