Simple C++ 2D game engine built over SDL.
Aiming for flexibility by using an Entity-Component-System architecture with Lua scripting support.
(Note: Currently tested under Ubuntu with the GCC compiler.)
A C++14 compatible compiler.
It requires the following libraries to be installed:
- SDL2
- SDL2_image
- SDL2_ttf
- SDL2_gfx
- Box2D
- Lua5.2 (it would probably also work with Lua5.1)
The following libraries are already provided within this repository or at build time:
- Sol2 (/include/sol.hpp)
- jagt's pprint (/lua/pprint.lua)
- GoogleTest
Also, download this folder into the project folder. It contains some graphic assets.
Run CMake to generate build files and compile:
cmake .
make
Generate documentation files with Doxygen:
doxygen Doxyfile