sinesc / radiant-rs

Rust sprite rendering engine
23 stars 4 forks source link
renderer rust sprites threadsafe

radiant-rs

Rust sprite rendering engine with a friendly API, wait-free send+sync drawing targets and custom shader support.

Getting started and reference here.

To compile the examples, use e.g. cargo run --release --example demo_glare. See examples folder for other available examples.

Some screenshots from the examples

examples/demo_glare.rs examples/05_tiles.rs examples/demo_blobs.rs examples/07_to_texture.rs

Installation

Linux

On Linux the font loader depends on servo-fontconfig-sys which may require manual installation of cmake, freetype6, expat and fontconfig e.g.

sudo apt install cmake libfreetype6-dev libexpat-dev libfontconfig1

Windows

Should just work.