ActionScript 3.0 Game Programming University Second Edition
companion site source files buy the book
| Game | html page | fla file | action script & notes |
|---|---|---|---|
| matchingGame | matchingGame | matchingGame | matchingGame.as |
| AirRaid | AirRaid | AirRaid | AirRaid.fla AAGun.as Airplane.as AirRaid.as Bullet.as |
| balloonPop | balloonPop | balloonPop | balloonPop.as |
| ticTacToe | ticTacToe | ticTacToe | ticTacToe |
| Puzzle | Puzzle | Puzzle | Puzzle |
| slidingPuzzle | slidingPuzzle | slidingPuzzle | slidingPuzzle |
| trivia | trivia | trivia | trivia |
| myMathChallenge | myMathChallenge | myMathChallenge | myMathChallenge action script & myMathChallenge design overview |
| Quiz | html page | fla file | action script |
|---|---|---|---|
| distance | distance | distance | distance |
| angle | angle | angle | angle |
| collision | collision | collision | collision |
Euclidean distance
Cartesian coordinate system
Calculate Euclidean distances
Example of inefficient looping
Example of efficient looping
angles in Flash