bevy_touch_stick

Crates.iobevy_touch_stick
lib.rsbevy_touch_stick
version0.2.0
sourcesrc
created_at2024-02-23 10:10:23.249497
updated_at2024-02-23 10:30:34.177821
descriptionBevy virtual touch joystick for mobile games
homepage
repositoryhttps://github.com/johanhelsing/bevy_touch_stick
max_upload_size
id1150427
size170,406
Johan Klokkhammer Helsing (johanhelsing)

documentation

README

bevy_touch_stick

Virtual touch screen analog joysticks for the Bevy game engine.

Goals

  • Support mouse and touch
  • Multiple joysticks on screen (for e.g. twin stick)
  • Emulate a regular bevy gamepad
  • Minimal dependencies (including features)
  • Simple stupid implementation
  • Modular rendering
  • No asset dependencies

Only two-axis sticks are supported.

If you need single-axis sticks, use SergioRibera/virtual_joystick instead.

Examples

Usage

Check out the examples.

Bevy Version Support

The main branch targets the latest bevy release.

bevy bevy_touch_stick
0.13 0.2, main
0.12 0.1

License

bevy_touch_stick is dual-licensed under either

at your option.

Contributions

PRs welcome!

Acknowledgements

bevy_touch_stick was forked from virtual_joystick

Commit count: 0

cargo fmt