I'm wondering if we should add some kind of Pause Listener class that games
could implement. This could both respond to manual ForPlay.pause()-style
commands and detect if the game loses visibility in a platform-specific way
(the Android activity losing visibility or the HTML game losing focus, for
instance). This could allow games to keep the gameplay from starting up again
immediately after the game loop restarts, providing a slightly more polished
experience and preventing issues like, e.g., a player reloading a rhythm game
only to have it immediately start moving and losing him points.
Original issue reported on code.google.com by jonag...@google.com on 5 Aug 2011 at 5:11
Original issue reported on code.google.com by
jonag...@google.com
on 5 Aug 2011 at 5:11