dr
doryen-rs
cargo install doryen-rs
dr

doryen-rs

ascii roguelike library in rust with native and wasm support

by jice

1.2.3 (see all)License:MIT
cargo install doryen-rs
Readme

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.

features

+ [x] GLSL renderer
+ [x] RGBA, RGB and greyscale fonts
+ [x] mouse input
+ [x] keyboard input
+ [x] subcell resolution
+ [x] PNG image blitting
+ [x] unicode support
+ [x] screenshots

demos

Visual demo
Basic real-time walking @
Performance test
Fonts demo
Unicode demo
Console blitting demo
Image blitting demo
Subcell resolution demo
Transparent console demo
Text input demo

usage

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

Check the examples and documentation for more information.

compilation

  • native compilation
cargo run --example basic
  • web compilation
cargo install --force 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.

GitHub Stars

175

LAST COMMIT

1yr ago

MAINTAINERS

1

CONTRIBUTORS

4

OPEN ISSUES

6

OPEN PRs

0
VersionTagPublished
1.2.3
2yrs ago
1.2.2
2yrs ago
1.2.1
3yrs ago
1.2.0
3yrs ago
No alternatives found
No tutorials found
Add a tutorial