Skip to content

harsha-deep/Jetpack-Game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPP-Project-SDL2-

Recreating jetpack joyride but with a twist!

Screenshots

Screenshot 2022-02-12 at 13-08-02 Report - Report _cp_grp28 pdf Screenshot 2022-02-12 at 13-08-19 Report - Report _cp_grp28 pdf Screenshot 2022-02-12 at 13-08-41 Report - Report _cp_grp28 pdf

Controls

  • space to jump
  • enter to shoot bullets

Installing the requirements

  • Install a c++ compiler like g++.

Install SDL

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-dev

Include the following files :

#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_ttf.h>
#include <SDL2/SDL_mixer.h>

Windows

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>

How to run

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

About

ESS 201: Programming II Project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 98.6%
  • Other 1.4%