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

Hole puncher multiplayer godot4 #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

josephmulindwa
Copy link

This is a version that accepts more than 2 players on the rendezvous server written for Godot 4.
It works by ensures that peers accept stages (greet, confirm, go) only when they have sent them e.g. for 2 peers A and B, A will only accept a greet from B if it has sent a greet to B before (received or not).
This ensures synchronized communication.

The other concepts remain the same that you used before.

The 2 commits are fairly the same, the first one has print statements to show what is happening and the other they are removed.

support  for multiple players for godot 4
print statements for clarity
update for multiplayer version (any number of players) for godot 4
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.

None yet

1 participant