A small OpenGL game engine sandbox. GLFW window, glad-loaded GL, GLM for math, and Box2D for 2D physics.
- CMake 3.25+
- A C++23 compiler
- Git
- make, pkg-config, curl, zip, unzip, tar
Important
Clone with --recurse-submodules — vcpkg is vendored as a submodule.
git clone --recurse-submodules https://github.com/Segward/game_engine.git
cd game_engineConfigure and build with the provided CMake preset:
cmake --preset default
cmake --build --preset defaultThen run the produced binary:
./build/game_engine- GLFW: window and input.
- glad: OpenGL function loader.
- GLM: vector and matrix math.
- Box2D: 2D rigid-body physics.
- vcpkg: dependency manager, vendored as a submodule.