Skip to content

Wenox/platformer-2d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeFactor License

icon Platformer 2D

Platformer 2D is a customizable C++20 tile-based game, where you can create your own worlds and alter the settings easily.

The objective for the player is to find an exit in a possibly huge world, without getting himself killed.

Preview

main-screen

main-screen-2

Main Menu

main-menu

Paused Menu

paused

Options

options

Keybindings

keybindings

Map Loader

map-loader

Exemplary .bmp world

(scaled 400%)

scaled-bmp

The worlds are also loadable from .txt files!

Map builder

Independent JS project (work in progress)

map-builder

Usage

todo

Installation

The following is a complete installation for MinGW along with all required libraries.

git clone https://github.com/Wenox/platformer-2d.git
cd platformer-2d
mkdir lib && mkdir test/lib && mkdir build
# <Install SFML into lib/>
# <Install tgui into lib/>
# <Install dynamic SFML and tgui libraries into lib/shared_lib or build/>
# <Install googletest into test/lib/>
cd build
cmake .. -G "MinGW Makefiles"
mingw32-make

The project is fully cross-platform. Adjust the installation to your own compiler / environment system.

Documentation

The game API is fully documented.

See: Github pages

License

This project is licensed under MIT license.

Feel free to re-use the game or its independent modules to suit your needs.