Splash Screen Settings Game Debug/Godmode
For windows users, there are two batch files you can use depending on what compiler you are using. For linux users you can simply use a terminal. Only do ONE of these options depending on your compiler and platform.
Visual Studio users should run
premake-VisualStudio.bat
This will generate a Visual Studio project, by default this is configured to work with Visual Studio 2022 but if you have a different version then edit the batch file and change it to the version of Visual Studio you are using.
Please make sure you have a recent version of MinGW-W64. The older versions from mingw.org will not work. We recommend the W64Devkit. you can download that from here https://github.com/skeeto/w64devkit/releases
Once you have MinGW-W64 Run the batch file.
premake-mingw.bat
This will generate a makefile for you
cd to the game folder and run
./premake5 gmake2
This will generate a makefile for you.
cd to the game folder and run
./premake5.osx gmake2
This will generate a makefile for you.
Only do ONE of these options depending on your compiler and platform.
Double click the .sln file that was generated in the folder. From here you can use the project as normal.
Open your compiler terminal (w64devkit if you are using it), change to the game folder and type
make
This will build your game
Open your terminal, change to the game folder and type.
make
This will build your game.
The resources folder (res) inside ./game might need to be copied over to the location of the executable and be put in its own game folder to utilize resources properly, it will look like the following: ./_bin/Debug or ./_bin/Release will have the game executable and a folder called game which houses the res folder as follows ./_bin/Debug/game/res or ./_bin/Release/game/res