Recreating jetpack joyride but with a twist!
- space to jump
- enter to shoot bullets
- Install a c++ compiler like
g++.
Linux (Official Guide):
Install with :
sudo apt-get install libsdl2-dev
sudo apt-get install libsdl2-image-dev
sudo apt-get install libsdl2-ttf-dev
sudo apt-get install libsdl2-mixer-devInclude the following files :
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_ttf.h>
#include <SDL2/SDL_mixer.h>Refer to this tutorial to set up SDL on Windows. Include the following files :
#include <SDL.h>
#include <SDL_image.h>
#include <SDL_ttf.h>
#include <SDL_mixer.h>Simply clone the repository and run make.
git clone https://github.com/harsha-deep/CPP-Project-SDL2-.git
cd CPP-Project-SDL2-/
make
./a.out

