On update ready is not trigered on first load

0 favourites
  • 6 posts
From the Asset Store
Fantasy Game includes more than 600 sound effects inspired by hit computer games like World of Warcraft and Diablo.
  • Hello fellas,

    This problem appears only in chrome and safari, firefox works well. I'm using browser object "Is downloading update" and "On update ready" to force update on the client. It's weird, but the first time the page is being loaded "On update ready" is not trigered. After you refreshed the page and uploaded a new update it works.

    And yes, I upload all game files including "offline.appcache"

    I think I even saw this behavior on some game on Scirra Arcade. The guy wrote in the description "If you stuck on downloading update, please refresh the page."

    Any ideas how to fix it?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • if you are visiting the URL for the first time why should an update work?

  • Yes I understand, but the thing is, when the page is visited for the first time the event "Is Downloading Update" ist still trigered, but "On Update Ready" is not trigered.

  • So, it is still an issue: Browser>OnUpdateReady is not triggered, when the page is loaded for the first time (when it wasn't cached before). Loading progress shows 100%, but this event is not triggered. I checked everything possible and my server supports .appcache MIME-type.

    If it was cached one time, onUpdateReady works.

  • You can simple download the sample file here and read the tutorial, it may help you.

    scirra.com/tutorials/533/for-beginners-custom-loading-screen

  • Ok, thanks man, with the help of your example I have figured out another way how to achieve that. But the issue with "OnUpdateReady" is still there, cause it's not get triggered on the first time loading.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)