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

Multiplayer job queue #375

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

Conversation

krazyjakee
Copy link
Contributor

Adds NetworkJobQueue and NetworkJobWorker nodes and an example. The idea is to sync the queue so that it can be processed the same across all clients.

This can be useful for Matchmaking (queuing requests), Crafting systems (queuing time based crafting), strategy game commands (queuing player commands), AI NPC actions (queueing NPC actions) etc

The PR doesn't currently work as the queue value in the RollbackSynchronizer isn't sending its data to other clients.

It's starting to look like the actual queue functionality may not belong as part of netfox as the netcode part is purely the syncing of the queue which could just be done with a rollback synchronizer.
The example game however, may be useful as a separate repo?

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