gschup / bevy_ggrs

Bevy plugin for the GGRS P2P rollback networking library.
Other
302 stars 41 forks source link

feat: Add `GgrsLocal` #96

Open johanhelsing opened 11 months ago

johanhelsing commented 11 months ago

A rollback aware version of Bevy's Local system params.

I wanted to write systems with local resources in order to reduce boilerplate. And also to implement a rollback aware verison of EventReader. I needed something that behaves like Local<T> but rolls back when bevy_ggrs does.

This is a draft because:

Putting it out here since I don't have time to work on it now. Perhaps someone else has.