Search the Community

Showing results for tags 'Promises'.



More search options

  • 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
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

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. Hey guys, I have just got adverts working in my game, however I have an issue with loading the ad. When I call this function fullscreen1 = CocoonJS.Ad.createFullscreen(fullscreen1Params);It will lock up/lag my game until it fetches the ad. I want to do this asynchronously but I don't know how to tackle this using pure javascript (I am not using a framework that has this built in). Does anyone have tips for how they bypassed this issue? I am tempted to just wait until the complete callback is called however if the ad fails to load then the game will never start. Is there a simple way around this? Thanks.