goshawk

Crates.iogoshawk
lib.rsgoshawk
version0.1.1
sourcesrc
created_at2021-01-05 13:57:27.328015
updated_at2021-02-03 20:48:52.694415
descriptionAn RTS camera for bevy
homepage
repository
max_upload_size
id332109
size77,246
Restioson (Restioson)

documentation

https://docs.rs/goshawk

README

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.

example video

License

Licensed under either of

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.

Commit count: 0

cargo fmt