A Jetpack Joyride like / flappy bird like 2D game wrtiien in OpenGL. Navigate through a hazardous laboratory, collect coins, and avoid deadly zappers while trying to achieve the highest score possible!
- OpenGL
- CMake
- C++ compiler
- Clone the repository:
git clone https://github.com/ishwarbb/JetpackJoyride.git
cd JetpackJoyride
- Create and enter build directory:
mkdir build
cd build
- Generate build files:
cmake ..
- Compile the game:
make
- Run the game:
./app
- Three progressively challenging levels
- Physics-based movement system with gravity and jetpack thrust
- Randomly generated obstacles (zappers) and collectible coins
- Lives system with 9 lives
- Score tracking based on coins collected
- Distance-based level progression (1000 units per level)
- Glowing effects for zappers and active jetpack
- Visual cues for level progression (laboratory environment)
- On-screen HUD displaying:
- Current level
- Distance traveled
- Coin count/score
- Lives remaining
- UP ARROW: Activate jetpack to move upward
- Natural falling motion when key is released
- Character runs automatically when on ground
- Complete 1000 distance units to advance to the next level
- Collect coins to increase your score
- Avoid zappers - each collision costs one life
- Starting lives: 9
- Respawn position: Top-left of screen
- Game ends when all lives are depleted or upon completing all levels
- Core game engine components adapted from learnopengl tutorials
- Original game concept by Halfbrick Studios
- Be cautious when respawning, as immediate zapper contact will result in consecutive life loss
- Implements core Jetpack Joyride mechanics while maintaining playability
- Features physics-based movement system
- Includes dynamic obstacle generation
Have fun!