doryen-rs 1.0.0

Pure rust OpenGL accelerated roguelike console API with native/wasm support
Documentation

doryen-rs

Build Status Documentation crates.io

Ascii roguelike library in rust with native and wasm support. Uses the uni-gl and uni-app crates from the unrust game engine.

Demos :

basic

perf

fonts

unicode

blit

image

subcell

status

+ [x] GLSL renderer: stable
+ [x] RGBA, RGB and greyscale fonts : stable
+ [x] mouse input : stable
+ [x] subcell resolution : stable
+ [x] PNG image blitting : stable
- [x] unicode support : beta
- [x] keyboard input : alpha

usage

  • add dependency to Cargo.toml :
[dependencies]
doryen-rs="*"

Check the examples and documentation for more information.

compilation

  • native compilation
rustup default nightly
cargo run --example basic
  • web compilation
rustup default nightly
rustup target install wasm32-unknown-unknown
cargo install cargo-web
cargo web start --example basic