rscenes-1.4.1 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:
Everything else is exposed from
raylib::prelude.
Features
Enabling ecs feature, rscenes::prelude::* is gonna bring all resources from
hecs, like Entity, Query*, Ref*,
With, and World.
rscenes =
License
License: BSD-3-Clause