how does loadingprogress work ?

  • Hello,

    I am quite confused. When I use loadingprogress along with a custom loading screen (using scirra.com/tutorials/533/for-beginners-custom-loading-screen), the progress bar resets from 100% to 25% then increases again. Does it mean that the first time sprites are loaded then the audio ? Or is it something else ?

    For instance, it happens with this game:

    dl.dropboxusercontent.com/u/22937829/L27/index.html

    Thanks

    EDIT: I also read scirra.com/tutorials/318/how-to-use-loader-layouts-to-make-custom-loading-screens written by Ashley. He says it is related to "Is downloading update" but I don't understand.

  • That's odd, I've not noticed that effect before. I think Chrome is noticing there's an offline cache and the loading progress is reflecting the offline cache progress - but it's not programmed to do that... hmm...

  • Ashley

    recently I got same effect on CocoonJS Android compilation too,

    but for me it does not matter anyway :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you for your answers.

    What is odd is that it happens even if it is the first time you open the game so there is no offline cache yet, right ?

    Well I had time to investigate this issue. It seems that it only happens if there is the Browser object in your project. Since the game is playable after the first bar completion, I assume the second one is for sounds/music. Or maybe because of the Browser object, it is trying to reach an update. These are just assumptions and it does not bother me that much too but I was just curious if there is an explanation to it.

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