What causes web games to get corrupt? (I have to keep clearing browsing history on my iOS devices)

0 favourites
  • 3 posts
From the Asset Store
Basics sprites and tilesets to build a platformer game or prototype
  • I'm working on a web-based game and it seems to run great on a variety of PCs that I have tried. It runs well on my wife's iPad and my iPhone... however, I have had to clear the browsing history for both devices.

    WIFE'S IPAD

    About a week ago she tried to load up the latest version of the game and everything was screwed up. Sprites were in the wrong places (or missing altogether) and it was a mess. I tried everything to get it to work but she eventually had to clear her browsing history. The game has been running fine since then.

    MY IPHONE

    I just tried to launch the game on my iPhone and all I got was a white screen. It ran fine a few days ago. Once again, to fix the problem I had to clear my browsing history.

    Why does this happen and what can I do about it?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Replying to my own thread because I may have found an issue. Could it be causing the corruption problems I'm seeing? No idea.

    I'm working on a daily puzzle game, like Wordle, so I implemented a load/save feature.

    Each time the program starts I check to see if there is a daily game to load. If there is I load it. If there is NOT a daily saved game, then I unlock my Initialization group and it, in turn, unlocks the rest of my game code.

    But yesterday, I found a few groups that were unlocked when the program STARTS. So maybe the weird (and unpredictable) bugs I am seeing are caused by this:

    1. I check to see if there's a load game available

    2. If so I start to load the game

    3. Meanwhile, my Always events are setting variables, moving sprites around, etc.

    4. The load finishes and the game starts

    In other words, as I'm loading the saved game, my code is doing all kinds of work at the same time... possibly even saving the game. Could this be causing a conflict? I'm not sure.

  • You can use a separate loading layout to try to isolate the issue, instead of enabling and disabling events.

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