Skip to content
ascii roguelike library in rust with native and wasm support
Rust GLSL Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ci
examples
src
static
.gitignore
.travis.yml
CHANGELOG.md
CREDITS.md
Cargo.toml
LICENSE
README.md
Web.toml

README.md

doryen-rs

Build Status Documentation crates.io License: MIT

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

As of February 18 2019, both native and wasm targets compile on stable channel (rust 1.32.0 / stdweb 0.4.14).

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

license

This code is released under the MIT license.

contributions

You can contribute to this library through pull requests. If you do so, please update the CHANGELOG.md and CREDITS.md files. If you provide a new feature, consider adding an example as a tutorial/showcase.

You can’t perform that action at this time.