rscenes-1.2.5 has been yanked.
rscenes
Rscene is a scene manager for Raylib.
Installation
Sample
You don’t need to include raylib, the following line alone is enough:
use *
Then, in your function, instantiate the builder and the manager:
let mut builder = init;
builder.title; // this sets WM_CLASS
let font: = None;
let mut manager = new;
manager.config;
manager.add_first_scene;
manager.start?;
The scene should be implemented like:
;
The main resources are:
SceneSceneManagerStatecolorsraylib(Raylib itself)
Everything else is exposed from
raylib::prelude.
License
License: BSD-3-Clause