Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.36 KB

README.md

File metadata and controls

45 lines (32 loc) · 1.36 KB

Mario breaks out

This repo contains the source code of my submission for the GitHub Game Off 2018 game jam.

mariobreaksout.png

How to play?

Play on itch.io

How has this game been implemeted?

This game has been implemented in C++ using my very own library called piksel. Essentially, piksel is a graphics library that allows you to target native OS as well as the web. Please refer to the documentation if you would like to learn more about it!

Build instructions

Build natively

git clone --recursive https://github.com/bernhardfritz/mariobreaksout.git
cd mariobreaksout
mkdir build
cd build
cmake ..
make
./mariobreaksout

Build for the web

piksel uses Emscripten to compile C++ to WebAssembly. You can install Emscripten by following the WebAssembly developer's guide.

git clone --recursive https://github.com/bernhardfritz/mariobreaksout.git
cd mariobreaksout
mkdir build
cd build
emcmake cmake ..
emmake make
emrun --no_browser --port 8080 .