I added event handling (Event.APPLICATION_SUSPEND, Event.APPLICATION_RESUME) to the
Dashing Ball game to pause the game. This doesn't work for the web version.
Tell me, what's not working for the web version yet? Maybe there is a description of the differences of functions on the platforms.
Comments
But the question describing the difference in functionality on the platforms is still open and not completely transparent.
Update:
Alternatively, you can try to track Web API events in a similar way:
- visibilityEvent
- focusin_event
- focusout_event