Fly swat

This game is an important stage in the programming skills required to produce games, as it introduces the idea of testing collisions between objects, which forms the basis of the vast majority of games. It also introduces the modulo operator, the NOT operator, and shows how to attach sound to events. Action Script concepts include:

  • Using the modulo operator to time events
  • Testing for collisions between movie clips (hitTest method)
  • Using the NOT operator (!)
  • Sound objects (attaching manually, creating, linkage, controlling dynamically)