bevy_replicon
bevy_replicon copied to clipboard
Upgrade to Bevy 0.14
Part of #245
- Upgrade to Bevy 0.14 to take advantage of the new
EventRegistry. I'm using a fork ofbevy_renetfor now so this probably should be merged afterbevy_renetrelease a new version with Bevy 0.14 support. - The example currently is broken due to https://github.com/bevyengine/bevy/issues/13175
I just looked closer at EventRegistry and I don't think that we need it... Looks like it only allows to run update.
For our case we probably need to create our own registry, similar to ReplicationFns that we have now, but for events. It should be much simpler then ReplicationFns, we just need to store serialization and deserialization (no fancy marker API or writing separation).
It means that the update to 0.14 is not necessary. But this PR still can be handy when 0.14 drops :) Converting into draft for now.
Superseded by #282.