Question about loader layout and optimization

  • Hi everyone,

    I'm currently porting my desktop game on mobile platforms and have a question about how the loading screen works.

    My game runs pretty well on a Huawei Mate 10, which has 4Gb of RAM, but even the loading screen actually crashes on an iPad Mini 2, which has 1Gb of RAM.

    It sounds weird to me that even the loading screen crashes. Could this be due to RAM, or is there something else that needs to be taken into account? Because when inspected with the Debugger, the image memory is only 8Mb during the loader screen, which is very low. Also, I don't preload the sounds at launch of the project by default, they are loaded much later, when loading or starting a game.

    The behavior is always the same: Loading screen is normal until something like 7/8 of the loading, the the screen turns completely white, then the project reloads. It doesn't go back to the "desktop", but reloads instead.

    Any idea of what I have to optimize to make it work?

    Thanks a lot!

  • I would start removing things from the loader layout until it starts working.

    It could also just be an Ios issue.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for the suggestion.

    I removed everything from the loader layout. My loading screen is now just a black screen. Still, the behavior is the same: black screen (loading) then white screen, then black screen again’ then white screen, repeat...

    I remember I just updated to iOS 12 today. Is there any known bugs with it Ashley ?

    the ipa was done with C2 and Phonegap build.

    Could this be a RAM problem?

    Thanks for any help you could provide.

  • If the browser crashes generally that's a browser bug that needs to be reported to the browser maker, Apple in this case. JavaScript can't normally crash the browser like that.

  • Thanks for your help. I tried exporting an other (smaller) project, and everything works just fine (exported with the same device, tested on the same device).

    Could this still be due to the browser/iOS version, or does this mean there is a problem with my bigger project ?

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