R-type

A partial recreation of the R-type arcade game.

One of my assignments for school was to re-create a version of the arcade game R-Type within 6 weeks using only C++ and a template for rendering the graphics to the screen and getting input from the player.

In this project, I worked on the following:

  • Collision between sphere colliders
  • Collision between AABB colliders
  • Collision between AABB and sphere colliders
  • An implementation of the sweep and prune algorithm for optimizing collision
  • Tilemap collision
  • Tilemap rendering with a moving camera
  • A simple state machine based enemy AI
  • Catmull-rom spline based movement for enemies
  • 2D rotation using matrices