A basic 2D implementation of the famous mobile device game jetpack joyride using OpenGL
- Run the following commands in the cloned directory
mkdir build
cd build
cmake ..
make
- To play the game, run the following commands in the build directory
make
./graphics_asgn1
- LEFT - To move left
- RIGHT - To move right
- UP - To use jet
- Z - To throw balloons
- Golden coins increase the score by 50
- Red coins appear randomly and increase score by 500
- Magnets attract player upwards
- Boomerangs appear randomly and cause damage to health
- Player can throw balloons to extinguish fire
- Some fire lines move up and down
- If health becomes less than or equal to zero, game is over
- Fire lines disappear after doing damage