Game suddenly not loading on iPhone

0 favourites
  • 5 posts
From the Asset Store
2D fighting template based in the game that defined the fighting games genre.
  • Hi there,

    I have a client delivery of a game that seems to have worked fine right up until I delivered it for user testing yesterday. The issue seems to be related to iPhones, when I load the link in either chrome or safari on iPhone it just crashes and restarts the browser. From memory ive done this several times throughout the build and while its been a little slow on iPhones, it has worked fine. Ive also tried it in both Construct Arcade and as a separately hosted HTML5 export to the same result.

    I am quite new to building in Construct (or anything really) so im a bit out of my depth, but with the client getting pretty unhappy i need to resolve this as soon as i can, are you able to give any advice please?

    The arcade link is here construct.net/en/free-online-games/diabetes-game-65872/play and the game file is here if that helps?.

    I appreciate any feedback you can give me as to how i might fix this,

    Scott.

    Tagged:

  • Hi, I checked your link on my iPhone and it does cause an error in chrome and safari browsers.

    You have not posted the files, please attach them.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It looks like your game as a browser tab requires too much memory allocation, and Apple devices don't like such careless memory usage.

    In your game many images have a large resolution but after loading they are scaled down to a smaller size.

    See I gave the dragon example.

    Its resolution is 1897*2146 but on the map you scale it down and use the size 736*833. It is better to do this in advance and the memory usage for the browser tab will be reduced by ~70MB. You need to check all sprites.

    Example on the screenshots.

  • If you plan a game in fullHD for cell phone browsers, it is better to divide the map into parts. For example, in your case you can make seven sheets as shown on the screens. When you move between sheets the engine unloads sprites from video memory and loads there sprites for the next sheet. In this way even a large game can take up a lot of space on the hard disk but use little video memory.

  • Awesome thankyou! ill have a play with that.

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