Home

Awesome

Gunslinger Project Template

This is a minimum and premade configuration that you need in order to get started with gunslinger. It provides all the necessary dependencies and the bash/batch scripts for compiling it on Windows, Mac and Linux.

You can also check the main Gunslinger repository here, where you'll find documentation on how to get started: Gunlinger repository

And you can also find a complete list of examples for you to learn from and test on your machine here: Gunslinger examples

Cloning instructions:

git clone --recursive https://github.com/MrFrenik/gs_project_template

Updating GS instructions (updates gunslinger submodule and rebases to main branch):

git submodule update --remote --rebase --recursive

Build Instructions:

Windows

MSVC:

proc\win\cl.bat
bin\App.exe

MINGW:

bash ./proc/win/mingw.sh
./bin/App.exe

Linux

Before Compiling:

sudo apt install git gcc mesa-common-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev
export MESA_GL_VERSION_OVERRIDE=3.3

GCC:

bash ./proc/linux/gcc.sh
./bin/App

OSX

GCC:

bash ./proc/osx/gcc.sh
./bin/App

HTML5

Emscripten:

bash ./proc/osx/emcc.sh