Checking if save data exists

0 favourites
  • 3 posts
From the Asset Store
DATA+ (Addon Pack)
$18 USD
20% off
Data+ is the best Data Management solution for Construct 3. It contains 4 Addons (Plugin & Behavior).
  • With the native saving and loading in Construct 2, is there a way I can check if savedata exists as a condition trigger? On save complete might work, but I'm looking for a possible string/code snippet or whatever that basically says or checks for "does slot1's savedata exist?" (i.e, it's not an empty slot and didn't have anything saved to it beforehand)

  • If it's empty then 'load' would fail and you can trigger 'on load failed', is that what you're after?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I suppose, maybe.

    At the moment, I made the realization I could just use a global variable or array (the latter since I'm switching to a partly array-based system for the gamekit's data), and have that changed to a value right after savedata is saved for the first time. On loading the game back up, just check the variable accordingly to decide whether to load a new playthrough or display the filename and load if it interacted with.

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