An attemnt to make a game engine. Mostly for fun and to learn how a game engine works. Will most probably crash and destroy your house, should NOT be used in production code ;)
Currently it will only work on MacOS due to using some specific functions to get the exact path to the executable, anyhow you'll need the following to compile
- A C++17 compatible clang++ compiler
- SFML / OpenGL
- ImGui / ImGui-SFML
- boost::filesystem
Run the following to clone, compile and run.
$ git clone [email protected]:frklan/GameEngine.git --recurse-submodules
$ cd GameEngine
$ make
$ ./ge
Alternativley cmake can be used, with the added bonus of not litter build files all over the place; it will also build an MacOS app bundle:
$ git clone [email protected]:frklan/GameEngine.git --recurse-submodules
$ cd GameEngine
$ mkdir build && cd build
$ cmake ..
$ make
$ ./ge
Use $ cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON ..
to compile with debug symbols and verbose output.
Contributions are always welcome!
When contributing to this repository, please first discuss the change you wish to make via the issue tracker, email, or any other method with the owner of this repository before making a change.
Please note that we have a code of conduct, you are required to follow it in all your interactions with the project.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Fredrik Andersson - Initial work - frklan
This project is licensed under the MIT License - see the LICENSE file for details