doryen-fov
A pure rust library containing 2D field of view algorithms for roguelikes.
compilation instructions
- install rust : https://www.rust-lang.org/learn/get-started
native compilation
cargo run --example fov
web assembly compilation
rustup target install wasm32-unknown-unknown
cargo install cargo-web
cargo web start --example fov
usage
Cargo.toml :
[]
="*"
main.rs :
use ;
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.