bevy_doryen
A Bevy plugin that integrates the Doryen roguelike library with Bevy.
Usage
Targeting Bevy 0.5
[]
= "0.5"
= "0.5"
= "0.2"
build
// Insert a `DoryenPluginSettings` resource to configure the plugin.
.insert_resource
// Add the `DoryenPlugin` to Bevy.
.add_plugin
// Add your Bevy systems like usual. Excluding startup systems, which
// only run once, these systems are run during Doryen's update phase;
// i.e. 60 times per second.
.add_startup_system
.add_system
// The `RenderSystemExtensions` trait lets you add systems that should
// be run during Doryen's render phase.
.add_doryen_render_system
.run;
See the examples for more usage scenarios.
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.