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

Demo: net-code/rollback/finite state machine with 2 physics systems #8

Open
PhoenixIllusion opened this issue May 18, 2024 · 0 comments
Labels

Comments

@PhoenixIllusion
Copy link
Owner

Dependent on save/load state API

Demo:
Two scenes with 2 plugins

Ensure both load same system

Ensure both have a rolling ring-buffer of save states

Assume one Body per player

Have a recording of player 1 and player 2 actions for given time window

Start demo

Each scene will play its own recording
Each scene will send its own instructions to the other scene with a random time offset in the past, greater than zero but less than the ring-buffer size

At the end of the demo, once the last instruction is received by both scenes, confirm both demos are both matching a fixed pre-determined outcome and each others own internal state

@PhoenixIllusion PhoenixIllusion changed the title Demo: recode/rollback/finite state machine with 2 physics systems Demo: net-code/rollback/finite state machine with 2 physics systems May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant