meemknight 05af49e477 added spagetti noise 2 anni fa
..
include 1802c484ff working at map editor + splines 2 anni fa
resources 1802c484ff working at map editor + splines 2 anni fa
src 05af49e477 added spagetti noise 2 anni fa
.gitignore 1802c484ff working at map editor + splines 2 anni fa
CMakeLists.txt 3fa141d27f added save settings 2 anni fa
README.md 1802c484ff working at map editor + splines 2 anni fa

README.md

cmakeSetup


This is a cmake setup that loads glfw, opengl, stb_image, stb_truetype and a custom 2d library. It works both on windows and linux.

How to use:

gameLayer.cpp has the game main loop. Add your files in scr/gamelayer and include/gamelayer. Look at the example provided to see how to acces user input.

Configurations:

  1. In Cmakelists.txt you can set the RESOURCES_PATH macro to the root folder for sharing the compiled program. By default it is the absolute path to the assets folder.
  2. In toold.s you cand change INTERNAL_BUILD to 0 when sharing the exe so the custom asserts don't let the user to continue debugging or using the program after a failed assertion.