How do I save/load snapshots in C3?

1 favourites
  • 3 posts
From the Asset Store
Match the similar cards with each other and free all animals!
  • My game handled snapshots perfectly in C2, but I had to load it up in C3 to export to Steam, am 2 weeks into it, just need to figure out what the heck changed about snapshots between C2 and C3, as it's the only feature in my game that isn't working anymore. My game has a built-in snapshots system where player can save up to 40+ snapshots which all show up in one gallery as seen below and they can save any snapshots to their safe, as the oldest snapshots get overwritten by design by new ones when space runs out, etc. This worked perfectly in C2, where every time a snapshot of canvas is taken, it saves the snapshot data as a localstorage key of Snapshot(number that global variable is on for next snapshot position) and then when you enter the gallery it loads all the localstorage values for all existing snapshots from "Snapshot1" to "Snapshot42" at most, where all of the blueish objects is a different snapshot and clicking on it shows the full version. Again, all worked perfectly in C2. Is there a change I need to do somewhere in C3? Such as at the moment the snapshot is taken, or the way it's saved to localstorage, or the way it's loaded from it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi. Have you looked at what the console writes, it might be security related. With just a screenshot there is little chance of helping you.

  • But are you talking about a change in how we have to work with screenshot data in C3 vs C2? It worked perfectly in C2, so just trying to quickly find the difference.

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