Asteroids

CPE 471-01

Fall 2014

Ian O'Rourke


Introduction:

I've implemented a simple asteroids game. The game generates five asteroids that the player must blow up. If the player is struck by an asteroid the ship will blow up.

Controls:

Keys Function
w Move forward
a Z-axis rotation in positive direction
d Z-axis rotation in negative direction
m Start/stop asteroid movement
_ Fire laser

The Ship:

I found the .obj file for the ship at tf3dm.com<http://tf3dm.com/3d-model/low-poly-spaceship-37605.html>. The first time rendered the ship, only half appeared, so I had to use a mirror matrix to create the other half.

The Asteroids: