Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add GgrsLocal #96

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

feat: Add GgrsLocal #96

wants to merge 3 commits into from

Conversation

johanhelsing
Copy link
Collaborator

@johanhelsing johanhelsing commented Dec 2, 2023

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:

  • It doesn't correctly handles systems that don't mutate every frame
  • It doesn't work for systems behind run conditions. It would be ok to not support this, but it should consistently panic in that case.
  • Make API public
  • Use it in examples
  • Needs docs

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

A rollback aware version of Bevy's `Local` system params.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant