Skip to content

Latest commit

 

History

History
33 lines (29 loc) · 857 Bytes

README.md

File metadata and controls

33 lines (29 loc) · 857 Bytes

Jetpack Joyride

A basic 2D implementation of the famous mobile device game jetpack joyride using OpenGL

How to run

  • 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

Controls

  • LEFT - To move left
  • RIGHT - To move right
  • UP - To use jet
  • Z - To throw balloons

Details

  • 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