RocketGE
Loading

Lightweight & Powerful 2D Game Engine

RocketGE Engine Preview
Last updated:
master branch
0
GitHub Stars
0
Commits
0
Releases
0
Platforms

Built for Modern Game Dev

C++23 Core

Written in modern C++23 for maximum performance, type safety, and compile-time optimizations.

🐍

Python Scripting

Integrate Python 3.14+ for rapid prototyping, gameplay logic, and dynamic asset management.

🖼️

OpenGL / Vulkan

Hardware-accelerated rendering with flexible backend switching. Supports GLES for mobile.

🎨

Astro & RocketUI

Create beautiful, responsive in-game interfaces with the built-in UI subsystem.

🌍

Cross-Platform

Native support for Windows, macOS, Linux (Wayland/X11), and Android out of the box.

🔌

Plugin System

Extend the engine dynamically with a robust, hot-reloadable plugin architecture.

Simple, Expressive API

Create a window in seconds

RocketGE abstracts platform-specific boilerplate. Use rocket_main and DEFINE_PLATFORM_MAIN to write truly portable code.

  • Automatic window & context management
  • Frame-delta timing & VSync control
  • Immediate-mode 2D drawing primitives
  • Event polling & input handling
main.cpp
#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

Installation

1

Clone the Repository

git clone https://github.com/xNoerPlaysCodes/rocket-runtime.git

2

Install Dependencies

Requires cmake >= 3.30, python3 >= 3.12, GLFW >= 3.4, SDL2, OpenGL, OpenAL, GLEW, miniz, GLM, pybind11, and wayland-scanner (Linux).

3

Build & Run

python3 ./helper-scripts.py --build
Output library lands in bin/libRocketRuntime.so.

🪟 Windows
🍎 macOS
🐧 Linux
🤖 Android