Game restart when out of focus

  • Hello,

    I compiled a game for Cocoon but I'm having a problem:

    My game always starts from the beginning (that moment that appears the splashart of cocoon) whenever it leaves him for some reason. If the user clicks on the advertisement, when he returns to the game he restarts. If you open the leaderboard screen, when it comes back it restarts. If you use the buttons on your phone to exit the game window, when it comes back it restarts.

    Used plugins:

    Ios

    com.ludei.canvasplus.ios

    Android

    com.ludei.canvasplus.android

    Device

    cordova-plugin-device

    Appodeal

    appodeal-cordova-nodex-plugin

    Android

    cocoon-plugin-application-android

    Google Play Games Social API

    cocoon-plugin-social-android-googleplaygames

    Does anyone know how to solve it?

    Ps:Sorry for bad english, I used google translate

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)