- Home /
Best way to choose Google Play Realtime Multiplayer Host?
So I am working on my first Google Play Real Time Multiplayer project, and suffice it to say, the lack of documentation is rather annoying. However, I've almost got it all worked out, one of my main problems though is picking a reliable method to choose the player order. Currently I'm doing a sort of first-come-first--serve thing, but I'm hoping there is a better way.
Basically my code does this.
First player to load the scene, sends the lowest PlayerID number, then the next player adds his number to it and sends that, but this is basically a Round-Robin crapshoot. I''d like a way to guarantee who gets to be what number, for the sake of a race it is important who is 1st, 2nd, etc.
If someone is experienced in Google Play Realtime Multiplayer, I would love some advice, this API makes me want to punch walls lol.