MrFrenik / gs_engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gunslinger Engine

You can also check the main Gunslinger repository here, where you'll find a documentation for you to get started and learn how to use it: 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:

  • Use the following command to clone the repo and init the gunslinger submodule
git clone --recursive https://github.com/MrFrenik/gs_engine

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

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

Build Instructions:

Windows

MSVC:

  • From start menu, open {x86|x64} Native Tools for {VS Version Here}
  • cd to root dir where you downloaded gs_engine
  • cd to gs_editor dir
  • To compile the project, run:
proc\win\cl.bat
  • To execute the editor, run:
bin\gs_editor.exe

Linux

Before Compiling:

  • Make sure the following development libraries are installed:
sudo apt install git gcc mesa-common-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev
  • For Mesa and OpenGL, need to export the following:
export MESA_GL_VERSION_OVERRIDE=3.3

GCC:

  • Open terminal
  • cd to root dir/gs_editor/ where you downloaded project template
  • To compile the project, run:
bash ./proc/linux/gcc.sh
  • To execute the program, run:
./bin/App

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C 93.8%Language:Shell 2.7%Language:Batchfile 1.9%Language:Python 1.6%