A small game if you can even call it that with minimal graphics and minimal physics to learn about sdl2
. For the meantime the player can jump, bounce of the walls and has a shield.
- Install
MSYS2
and update its repositories per the insturctions here - Assuming a 64 bit environment, run the application
MSYS2 MinGW 64-bit
and install required packages
pacman -S mingw-w64-x86_64-cmake mingw-w64-x86_64-SDL2 mingw-w64-x86_64-glew
Install sdl2 development libraries from the repository of your choice.
$ git clone https://github.com/utkuce/sdl-game.git
$ cd sdl-game/
$ git submodule update --init
$ cmake . -G "Unix Makefiles" && make
$ /bin/sdlgame
Online Demo compiled with Emscripten toolchain