CS223 Assignment 2: 2D and Movement

For each exercise, package the .fla and .as files as a zip file and upload it to Moodle.

Exercise 1

The image below represents a snapshot of programmed movement containing a car and a basketball. The car drives from left to right at a fixed velocity. Once the car moves off the screen out of view, it should re-emerge on the left, to start its movement again. The ball object rolls down the sidewalk from right to left. Once it moves off the screen, it should re-emerge on the right, to begin rolling down the side-walk again.

Inspect the symbols. Two instances of the Wheel are used to build the Car. Both Wheel objects must be programmed to rotate.
At a mimumum, the following AS3 classes must be constructed:


Exercise 2








Exercise 3