Jonathan Quang, Brian Kwong, Datian Zhang
AsteroidsToo is a game programmed in java using Processing that is inspired by the classic arcade game Asteroids. The player can shoot asteroids to earn money and to protect the central market/base from being destroyed. Money can be used to purchase upgrades, weapons, walls, or storages to increase the maximum amount of money that can be held.
We have a class called Moveable that controls how objects move with velocity vectors. Asteroids inherit this class and move at a fixed velocity around the screen. We have an Asteroid Spawner class that manages and controls asteroids within the driver class. We also have a Ship class that has aditional functionality for movement via acceleration vectors in the direction of the ship's yaw (rotation on the screen) and shooting bullets. The PlayerShip class contains code for detecting keypresses and rendering of the ship as a triangle. The Driver class for all of this is contained within AsteroidsToo.pde.