cengine-2d is a cross-platform OpenGL 2D game engine.
FLAG | DESC |
---|---|
-DENGINE_EDITOR | Compile with editor & tools |
--DRENDER_BACKEND_RAYLIB=1 | Set Rendering Backend to raylib |
--DRENDER_BACKEND_OPENGL=1 | Set Rendering Backend to OpenGL |
--DRAYLIB_ANGLE_SUPPORT=1 | Enable Angle Support for raylib |
(mkdir build && cd build)
cmake -DENGINE_EDITOR=1 -DRENDER_BACKEND_OPENGL=1 -DCMAKE_TOOLCHAIN_FILE=[vcpkg path]/scripts/buildsystems/vcpkg.cmake ..
make #-j N for parallel
Visual Studio -> Open -> CMake -> CMakeLists.txt
Visual Studio -> Project -> CMake Settings for Commanche2D -> CMake Variables -> Pick OpenGL or Raylib backend
vcpkg install lua
vcpkg install sol2
vcpkg install glm
vcpkg install glfw3 -- if OpenGL
vcpkg install freetype - if OpenGL
LUA with C++ bindings.
Built on the FLECS library.
Default serialization format used in world/entities/physics is JSON.
Implements Box2D also supports custom-made physics engines.
Engine supports two different rendering backend.
- Raylib with out of box ANGLE support for platform compatibility such as iOS.
- Modern OpenGL
Engine can built itself to following platforms.
- MacOS
- Linux
- Windows
Native animation designer with timeline.