@gadapchetvoi wrote:
Hi all and especially Mr @pandamicro
I've refered to this link and I think that all the mobile's events must be there:
http://www.cocos2d-x.org/reference/html5-js/V3.0/symbols/cc.EventListener.html
But I couldn't find out the event to handle when user press physic "lock" button on device (or user switch from my game to home screen or another app) that put my game into sleep/hibernate state. I need the event to pause my game on sleep & let user resume it manually.
Please help me, I've search google & all this forum without result (or questions without answer) !
Thank you !
Posts: 2
Participants: 1