goshawk 0.1.1

An RTS camera for bevy
Documentation
  • Coverage
  • 73.91%
    34 out of 46 items documented0 out of 8 items with examples
  • Size
  • Source code size: 76.72 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 4.18 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 49s Average build duration of successful builds.
  • all releases: 49s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Restioson

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.