Multiplayer doesn’t care which movement behavior you’re using — it simply transmits data between two computers. The issue is likely that you’re sending Player.controle continuously. Instead, you should send it once per tile movement.
For example, when the D key is down and the player moves from tile 1 to tile 2, you should send a single 'move right' command. If you send it multiple times, network latency might cause the peer to move more than one tile unintentionally.
Another option is to send the target position. So when the player moves from tile (0,1) to (0,2), you transmit the coordinates of the target tile - (0,2)
Hello, thanks for the reply!
Is what you say an assumption or have you seen my project?
I don't think I'm doing this, but I could be wrong. Please point out where this is happening
drive.google.com/file/d/11jWl4KGl1z3BS_b2t1h52e9xxYwByFsu/view
Thx