# raylib_multiplatform

> A C++20 framework for shipping raylib games to every platform from one codebase, with CI that builds them, boots the ones its runners can run and checks they draw.

Source: https://omardev29.github.io/rmp-docs/index.html

A C++20 framework for shipping [raylib](https://www.raylib.com/) games to 17 targets from one codebase — Windows, Linux, macOS, the web, Android, iOS and the three BSDs — with CI that builds every one of them and, on each one its runners can run, boots the game and checks that it put pixels on the screen.

You write the game. A main menu is three calls:

```cpp
rmp::ui::begin();
if (rmp::ui::button("Play")) play();
if (rmp::ui::button("Quit")) quit();
rmp::ui::end();
```

That is a centred, responsive menu that a mouse, a keyboard, a gamepad and a finger can all use. No coordinates, no sizes, no fonts to load. Everything else the framework has is there when that default is not what you want, and costs nothing until then.

Underneath, it is raylib, and raylib stays yours: inside a scene you call `DrawTexture`, `DrawCircle` or `BeginMode2D` exactly as you would without the framework. What the framework adds lives under `rmp::`, one header per module, and a game includes only the ones it uses.

[**Getting started**Install `rmp`, make a game, and build it up one step at a time.](https://omardev29.github.io/rmp-docs/getting-started/index.html) [**Manual**Every part of the framework, explained: scenes, objects, input, the interface, assets, saving.](https://omardev29.github.io/rmp-docs/manual/index.html) [**Reference**Every public name, read from the headers themselves.](https://omardev29.github.io/rmp-docs/reference/index.html) [**The framework**How it is built, and why it is built that way.](https://omardev29.github.io/rmp-docs/framework/index.html)
