Spelunky remake
I recreated spelunky using using c++.
PLAY HERE
This was my first year DAE project.
I used the book Spelunky by Derek Yu (The creator of spelunky) to get inspiration how to implement the random world generator.
After I was done with it for a school project I decided to make it into a web game with emscripten. There where some problems I had when porting the game.
Porting opengl
The engine was written in opengl 1.0 which doesn't work with emscripten. I upgraded the engine to use opengl 2.0 ES so it can draw in webgl.
In opengl 1.0 there are no shaders. So I added them for opengl 2.0 ES to work. You can also push matrix in opengl 1.0. This feature doesn't exists in opengl 2.0 ES. I recreated that feature.