HTML game not loading on iPhone iOS 13.5.1 and above
I'm currently working on trying to resolve an issue with an HTML5 game create in Adobe Animate 2020.
The problem is when it is played on specifically iPhones running an iOS at either 13.5.1 or higher. All other android devices and even iPhones/iPads using a lower iOS work fine.
The first page/level loaded will always work fine. I am using the following code to navigate my folder structure:
window.location = "../level02/level02.html";After maybe a level or two the game will be stuck on the default background colour I have set in the Animate build file and the script is seemingly stopped from firing.
On the iPhone I was using that was running iOS 13.6, I went into the Safari cache and it was when I deleted only the "create.js" cache by itself and not the actual browser cache that it would force the page to reload and then it would work as intended. Pressing refresh would not work and going back to previous pages would now have the same blank screen as well.
In my files, the create js code I am using is:
createjs.Touch.enable(stage);
this.musicplay = function() {
this.mainmenu = createjs.Sound.play("menumusic", {loop: -1});
}
this.musicplay();All pages have the touch enable code and only some have music.
What is it that could be carrying over from previous pages that collect and stop the next ones from working? Also why is it only on iPhones running this iOS 13.5.1 or above and not other devices?
Please note I am very new to all of this so go a little easy on me.
Appreciate the time taken to read all this text.
