cerlib

cerlib Logo

Lightweight 2D game framework for modern C++

Get Started

Cross-Platform

Runs on multiple platforms, including Windows, macOS, Linux, Android and iOS.

Free

Permissive license with no royalties attached.

App Framework

Based on SDL3, with easy-to-use input, window and event handling.

Sprites and Text

Efficient GPU-based rendering using the platform's native graphics API, such as OpenGL and Metal.

Sprite Shading

Simple and safe shading language that transpiles to native shading languages.

Math Library

From colors, to vectors, to matrices, cerlib has it.

Audio Library

Easy-to-use audio API, including faders and channels for playback control.

Content Management

Load common formats such as PNG, JPG, DDS, WAV, MP3, OGG, FLAC and many more.

Particle Systems

Customizable behaviors via emitters, modifiers and shapes.

ImGui Support

Automatically available in your game. Simply #include <imgui.h> and use it.

Graphics Debugger Support

Use RenderDoc for in-depth frame analysis and shader debugging.

Minimal C++ Subset

Improved containers and strings with bounds-checking and option types.