2D Platformer

Sep. 2016 – Nov. 2016

In the first quarter of the first year at my university, I was assigned to use the OpenGL library to create a 2D Platformer in C++.
To keep this 2D platformer unique, I took inspiration from Nintendo’s Super Mario Galaxy, to implement walkable planets with their own gravity in the scene.

The playable character can walk around small planets and use the gravitational fields to take alternate paths.


                Image

What I learned:

  • How to use 2D vectors and trigonometry for calculating the directions, which enable the Player to walk while on a curved surface,
  • Implementing separate classes and headers,
  • Using external libraries.

  • Development tools:

  • Visual Studio
  • C++
  • OpenGL

  • Future plans:

    This project inspired me to start developing a 2D Platformer Game Engine, that expands the different uses of this gravity mechanic and will provide the user with tools to build a 2D platformer with ease.

    Contact


    kevin.m.roelofs@gmail.com