Strange problem with LocalStorage?

Not favoritedFavorited Favorited 0 favourites
  • 3 posts
From the Asset Store
Strange Game Ambient Loops 3 - This is the third volume in the Strange Game series.
  • Hey, I'm almost done with a big game and I've encountered a strange problem. I can't figure out how to fix it without major changes to the structure. Any ideas?

    I've attached a screenshot of the events and the problem. If the "Close Browser" option works in one line, but not in another, that means the events aren't working at a certain point, and those events involve loading a save file for the entire game.

    Another strange thing is that I have a button to reset all my game progress, and if I press it, the game works fine and my scheduled tutorial starts, but if I exit the game and re-enter it, the screen is black again and the code doesn't work in the place shown in the picture above.

  • That would seem to indicate the specified key does not exist.

    You can check that by seeing if "On item missing" triggers instead.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • To avoid abuse, some browser features only work in a user input trigger, like a click or a touch - or within a certain time limit after the user input. Closing the browser window may be one of them.

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