I haven't found anywhere anyone mentioning a problem I've been having.
I'm making a 2-player game. I have it set up so the first player who joins the room is the master and is assigned player 1 sprite.
The second one joining is player 2 and gets the player 2 sprite.
Now, I have the syncing done and working, so when one player moves, the movement shows on the other players screen.
If player 2 leaves, he can come back and get assigned the player 2 sprite again, which works just fine.
But the problem is, his sprite's position needs to be of where he last left of.
Since the master actor has the information of where player 2 is located since he is still in the room, I'm wondering how I could code it so Player 2 can "ask" for this information so he can be positioned correctly.
I appreciate any help I can get.