Cobalt Engine is a simple 2D game engine written in C++, using OpenGL as its graphics API.
Note
The engine is currently in an early stage and not yet capable of making games.
- Windows
- Linux
Note
Only tested on Fedora Workstation 44
The primary goal for version 0.1 is to make the engine capable of creating a simple game through its editor.
- Asset management
- Input
- Scripting
- Audio
- Physics
- Runtime GUI
- Building and Packaging
- Project launcher
- CMake ≥ 3.24
- C++ Compiler supporting C++23
- MSVC (Visual Studio 2022)
- Gcc ≥ 11
- Clang ≥ 18
- Ninja (optional)
Clone the repository
git clone --recursive https://github.com/Resongeo/Cobalt-EngineChange directory
cd Cobalt-EngineIf you’re building from an IDE, use its built-in CMake tools to configure and build the project. For manual builds, run the following commands:
Configure the project:
cmake --preset debugBuild the project:
cmake --build --preset engine-debugFor a minimum size release build:
cmake --preset min-size-release
cmake --build cmake-min-size-release- AngelScript - Extremely flexible cross-platform scripting library
- Catch 2 - Unit testing framework
- EnTT - Fast and reliable ECS
- Glad - OpenGL function loader
- Glm - Mathematics library for graphics applications
- Dear ImGui - Immediate-mode GUI library for the editor
- ImGuizmo - A collection of Dear ImGui widgets for 3D manipulation and more
- SDL3 - Simple DirectMedia Layer for low level multi-media
- simdjson - Fast json parser and serializer
- spdlog - Fast C++ logging library
- stb - Single-file public domain libraries
- Toml++ - TOML config parser and serializer
