Written in modern C++23 for maximum performance, type safety, and compile-time optimizations.
Integrate Python 3.14+ for rapid prototyping, gameplay logic, and dynamic asset management.
Hardware-accelerated rendering with flexible backend switching. Supports GLES for mobile.
Create beautiful, responsive in-game interfaces with the built-in UI subsystem.
Native support for Windows, macOS, Linux (Wayland/X11), and Android out of the box.
Extend the engine dynamically with a robust, hot-reloadable plugin architecture.
RocketGE abstracts platform-specific boilerplate. Use rocket_main and DEFINE_PLATFORM_MAIN to write truly portable code.
#include <rocket/runtime.hpp> int rocket_main(int argc, char** argv, rocket_arguments_t) { rocket::init(argc, argv); rocket::window_t window = {{1280, 720}, "My Game"}; auto r2d = rocket::create_renderer_2d( rocket::renderer_backend_t::opengl, &window ); while (window.is_running()) { r2d->begin_frame(); r2d->clear(); r2d->draw_rectangle({ .pos = {100, 100}, .size = {128, 128} }, rocket::rgba_color::red()); r2d->end_frame(); window.poll_events(); } return 0; } DEFINE_PLATFORM_MAIN
git clone https://github.com/xNoerPlaysCodes/rocket-runtime.git
Requires cmake >= 3.30, python3 >= 3.12, GLFW >= 3.4, SDL2, OpenGL, OpenAL, GLEW, miniz, GLM, pybind11, and wayland-scanner (Linux).
python3 ./helper-scripts.py --build
Output library lands in bin/libRocketRuntime.so.