Skip to content

My first 2D platformer game in C++ using SDL and related libraries.

License

Notifications You must be signed in to change notification settings

achaval-tomas/SkyLine-Adventure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SkyLine-Adventure

My first 2D platformer game in C++ using SDL and related libraries.

Code might not be the best, this was my first ever project in C++. Feel free to contribute improvements via Pull Requests.

The game is Speedrun oriented. The goal is to Collect all coins and get to the finish platform alive as fast as possible. There are 3 levels of difficulty and 2 cities to be played in.

Some gameplay:

SkyLineAdventureGplay5.mp4

How to play

On windows

start bin/release/main

On Linux, or WSL

./bin/release/mainLinux

How to re-compile the game

On windows with mingw

g++ -c src/*.cpp -std=c++14 -O3 -Wall -m64 -I include -I /bin/release && g++ *.o -o bin/release/main -s -L /bin/release -lmingw32 -lSDL2main -lSDL2 -lSDL2_image -lSDL2_ttf -lSDL2_mixer

On Linux, or WSL

g++ -c src/*.cpp -std=c++14 -O3 -Wall -m64 -I include -I /bin/release && g++ *.o -o bin/release/mainLinux -s -L /bin/release -lSDL2main -lSDL2 -lSDL2_image -lSDL2_ttf -lSDL2_mixer

Note: Necessary Libraries are included in bin/release. If this doesn't work for you, you may need to Download and install SDL and/or mingw

About

My first 2D platformer game in C++ using SDL and related libraries.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages