doryen-rs
Ascii roguelike library in rust with native and wasm support. Uses the uni-gl and uni-app crates from the unrust game engine.
Demos :
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 :
[]
="*"
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