Forum Mobile Device going to sleep

Anything specifically relating to droid or iOS development with Unity can go here.

Device going to sleep

Postby capitaljmedia » June 29th, 2012, 2:21 am

Hi,

Is there anything that can be done so that if a user's device (ios) goes to sleep the server connection won't be cut? or to reconnect quickly continuing where the player left off?

-JJ
capitaljmedia
 
Posts: 29
Joined: September 13th, 2011, 2:33 am

Re: Device going to sleep

Postby dreamora » June 29th, 2012, 2:31 am

On android you can keep it alive, on iOS you are out of options.

As for picking up: sure, just have a state management which allows the client to tell the game room where it was to continue from that point onward. Depending on what you do this will require a state history to 'fast forward' the user to the current state
dreamora
 
Posts: 225
Joined: March 2nd, 2012, 9:58 am


Return to Mobile



cron