Hello. Recently I was testing out P2P in GDevelop, with a use of example found on this forum I managed to create a simple multiplayer game. I implemented some events and came up with this.
Sender
Receiver
Basically I’m trying to synchronize the game on both instances.
What do you guys think? Is this the correct way of making sure data is the same on both clients?
I’ve noticed that it definitely decreases the performance of the game. But it could be the case of running two game instances on one machine, idk.
Some people use methods like this one:
Sender
Receiver
But in my opinion that’s not really effective, the game would basically desynchronize after few minutes of playing.
What are your takes on P2P, how does your game do it? It would be awesome if anybody could share their knowledge.