Skip to content

Resongeo/Cobalt-Engine

Repository files navigation

Cobalt Engine

Screenshot of the Editor

License C++ Graphics

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.

Platform support

  • Windows
  • Linux

Note

Only tested on Fedora Workstation 44

0.1 Roadmap

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

Building

Requirements

  • 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-Engine

Change directory

cd Cobalt-Engine

If 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 debug

Build the project:

cmake --build --preset engine-debug

For a minimum size release build:

cmake --preset min-size-release
cmake --build cmake-min-size-release

Dependencies

  • 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

About

Cobalt Engine is a simple 2D game engine written in C++, using OpenGL as its graphics API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages