Releases: DrLuke/bevy_rosc
Bevy 0.13 update
Bevy 0.10 update
- Update bevy dependency to 0.10
Bevy 0.9 update
- Update bevy dependency to 0.9
New OscMethod system
This release changes how bevy_rosc
works under the hood to make it more flexible to use.
New Features
Bevy Plugin
Previously you had to set up quite a few things to get started. Now you can just fall back to a plugin that will open a UDP server at the provided address and serve two default OSC methods.
Check out the example to see how little setup is required!
New OscMethod
trait
OSC methods are components that can receive OSC messages at their address(es). Previously there were was only one fixed OSC method component available, which made using more than one of them for your entity cumbersome. The new trait will enable you to create custom OSC method components that will be a lot more flexible to use.
Check out the relevant example.
Dispatcher now uses events and dispatch systems
A generic system is used to dispatch messages to components implementing OscMethod
. It receives a dispatch event sent by the dispatcher and iterates over all method components to deliver the message to matching methods. Just add the system for your component to your app and you're good to go!
See this line in the example.
Bevy 0.8 update
- Add bevy version compatibility list in readme
- Update bevy dependency to 0.8