Physics Engine - Save VC from the asteroids

December 2006 - University Assignment
Save VC Image

Game Description

You control the Space Ship to save the Velocoraptors (VC) from death by the asteroids, to do this you control the professors spaceship and fly around the level, to rescue the VC's the ship must hover above the ground and catch the VC's in the air.

Controls

  • Up = up arrow key
  • Left = left arrow key
  • Right = right arrow key

Programming Description

This was done as an assignment at university. This was programmed in C and the main focus was on the physics of object movement hence why the graphics are not impressive. The program I made is very dynamic considering that it was programmed in C and I used arrays for it, it is easy to add more Dino's and Asteroids to the environment. The code is very efficient and allowed for thousands of asteroids to be included in the environment with ease.

Features:

  • Accurate collision Response, taking into account the object masses and velocities upon collision between the spaceship and the asteroids.
  • Wind and Gravity using constant acceleration to a terminal velocity.
  • Spherical collision detection.
  • There is a particle engine that can be seen when the ship is destroyed and on its thrusters. The particles obey the physics applied to all objects in the scene.

Download