This is still under heavy development. It's just public for the fun in it.
Eule/: Does mathsTornado/: Does le graphicsPlato/: Does le game engine thingsTestapp*/: Actual applications_Player_Benchmark/: Benchmark scene runner to test performance and plot performance metrics (using matplotlib in python)_Test_Acceptance_Tests/: A runner for predefined testing scenes with known behaviour, to visually inspect behaviour.Test_*/: Catch2 unit tests_TestingUtilitites/: Helpers for catch2 unit testsFrontend/: Defines different implementations of render windowsHandyComponents/: Useful in-game components, such as FPS camera controlsPrefabs/: Prefab definitions. So-to-speak, predefined more complex game object structuresScenes/: Scenes definitions.StaticMeshClasses/: If a mesh is simple enough to be hardcoded, it can be defined here.LegacyCode/: Old implementations such as a windows window
Every build needs cmake. Install that.
Some need SDL2 for presentation aswell. Install that. (libsdl2-dev)
Some (will soon) need OpenCL for non-laggy running. Install that. (opencl-headers ocl-icd-opencl-dev)
Also, you WILL have to create a Keybinds_local.h file in project root, even if it stays empty. In this file you can override keybinds from Keybinds.h, if required.
cd _TestappTERMcmake -B buildcd buildmake./_TestappTERM.out
- Haf SDL2 installed.
cd _TestappSDL2cmake -B buildcd buildmake./_TestappSDL2.out
- Haf OpenCL installed
- Haf SDL2 installed
cd _TestappSDL2_OpenCLcmake -B buildcd buildmake./_TestappSDL2OpenCL.out
cd _Test_Acceptance_Tests- Select test to run in main.cpp
cmake -B buildcd buildmake./AcceptanceTest.out
cd _Test_Allcmake -B buildcd buildmake./Test_All.out
If you want to set a scene you have to write
Scene* scene = new (SceneName)
in the main.cpp file in order to initiate it. Scenes can be found at
./Scenes/.