Jump to content

Search the Community

Showing results for tags 'OnPause'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Hi, We are in the process of making an "app" version of the game via Cordova and I'm struggling to fix an issue in relation to the game pausing on iOS. We provide a link to an external webpage to allow the player to register for the game and this is opened via: window.open(url '_system'); return false;If I call game.paused = true before window.open, nothing happens and the game continues.If I call game.paused = true after window.open, the link opens but I receive a gpus_ReturnNotPermittedKillClient error and crash. The thing is, this doesn't get called because the window starts opening there and then. I tried to circumvent this by putting the window.open call in a setTimeout function (delayed by 1 second) but I get the same result. I am using 2.4.2 so the game.lockRender property should also be set to true but the same issue happens. If I try to do it directly the same results. Moreover, I've added a game.onPause signal receiver in the state this happens in but this never gets called. Which makes me believe that whatever should be happening as a result of game.paused isn't actually happening. Any ideas on how I can resolve this?
×
×
  • Create New...