Skip to content

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