Instructor: Trish Cornez
Assignment 4: Kinetic Movement (fixed and "Timed") and
Collision Detection/Response
Construct a SimpleShooter Game, as shown below. Use the following guidelines.
- Plane (class) is the base class for: Seaplane, Helicopter, and Airplane.
- Random Plane objects (Seaplane, Helicopter, and Airplane) should be scheduled to appear at random intervals.
- At a scheduled intervals, the Plane object is constructed with a random direction, altitude, and velocity.
- Each Plane object moves across the screen and is removed from the game when it exits the stage.
- If a bullet "hits" the Plane object, the object is removed from the game.
- Bullet objects appear when the user presses the Mouse. Research how to do this.
-
Bullet objects can move move using "Timed-based" movement or a fixed frame rate.
NOTE: Make sure you understand how to implement both methods of movement.
- When a Bullet object hits a target or leaves the stage it is removed from the game.
- Allow a limited number of Bullet objects to be fired at a given time.
Explore the Flocking application AS3 code, provided in Canvas.
Separation is the behavior that causes an agent to steer away from all of its neighbors.
Without some degree of separation, agents will collide. Provide a brief explanation of how the AS3
code steers an agent away from its neighbors.
An explanation is also provided in the "AI Games Movement.pdf" document found in Announcements (Week 4).