top of page

Programming Physics Assignment 1

Space Shooter

For this Assignment, I was tasked to make a 2D Physics-based space shooter game.  

​

Game Information

The game is about the player using the space ship to shoot down any asteroids that are going to hit Earth. 

The controls WASD are to move based on the direction the player ship is facing. The mouse cursor is used to determine the direction of the player. Spacebar to shoot bullets and C to shoot missiles.

What I contributed towards the project

  • The gravity at the Earth/Home that will affect all the game objects in the scene when in range.

  • Made homing missiles that will track and follow the closest enemy object (asteroid or enemy ship).

  • An enemy ship that will roam randomly and shoot homing missiles at the player's ship. This enemy missile can also be destroyed and will destroy asteroids and can damage the Earth.

  • Three waves of asteroids and enemies where the player has to defend Earth with increasing difficulty each lasting for 30 seconds.

  • Touching the Blue/Green square will temporary change the player's shooting mode. (Blue allows the player to fire simultaneously in the up, down, left and right directions, Green allows the player to shoot 3 bullets simultaneously in a cone formation where the player is aiming at.  

​

bottom of page