Starting a game simultanously - One starts 1sec before the other

0 votes
So I coded that the game started once the other user send a comeback with the UTC time. So I coded that both games should start at UTC+3Seconds (currentTimeMillis()+3000). When I try it on desktop (I use libgdx) it works fine, but when I start it on different mobiles, one mobile is starting 1sec after the other one. Both are good devices etc and I dont understant the problem... One device is a OnePlus 3 and the other is a Nexus 5. Any advice? I am just confused because on desktop it works well.
asked Sep 8, 2016 in Android by Raul Mateo (15 points)

1 Answer

0 votes
Hi Raul,

You can try this:

Start Time = Comeback time in UTC + 3 sec - current time in UTC at the receiver end.

I hope it will help.

Regards,

Rajeev
answered Sep 9, 2016 by rajeev.etc (1,660 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...