2 releases
0.1.1 | Feb 3, 2021 |
---|---|
0.1.0 | Jan 5, 2021 |
#9 in #rts
23KB
319 lines
goshawk
An opinionated, configurable RTS (real-time-strategy) camera for bevy. It is somewhat inspired by the Rome: Total War camera.
Example
To run the example, run cargo run --example basic --features "bevy/default" --release
. It may also be run in debug mode,
but that will run slower. You can use the mouse to pan by moving it to the edges of the screen, or you can use
WASD/arrow keys with the keyboard. To zoom in, use the scroll wheel, or the plus and minus buttons on the keyboard. To
turn the camera, press Q and E, or move the mouse to the top left and right corners of the screen. To exit,
press escape. Be aware that this example starts in fullscreen borderless window mode.
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.
Dependencies
~16–25MB
~383K SLoC