playgameservices / android-basic-samples

Google Play game services - Android samples
Apache License 2.0
972 stars 970 forks source link

Handle rotation in RealTime multiplayer game #136

Closed djavan-bertrand closed 9 years ago

djavan-bertrand commented 9 years ago

Hi,

How would you handle the screen rotation (or other config changes) when playing a real time multiplayer game ? In your example, you call leaveRoom in the onStop, so the player leave the game as soon as he rotate his screen.

Thanks in advance, Djavan

claywilkinson commented 9 years ago

Hi @djavan-bertrand, questions like this are pretty general, and not directly related to the samples. I'd suggest searching and/or posting this type of question on stackoverflow: http://stackoverflow.com/questions/tagged/google-play-games. It will reach a much wider audience.