How do I load from a previously saved JSON automatically?

Not favoritedFavorited Favorited 0 favourites
  • 2 posts
From the Asset Store
Custom Loading Icons to Enhance Your Loading Screens
  • So, I saved my game file using System->Save game to JSON string and I can save it to a file using the file system plugin. I also have a condition to check if it's a desktop export before saving it directly using file system plugin, without opening a file picker dialog (I haven't tested it, but I assume it's working).

    The problem starts when I want to load the saved JSON file. I'm sure I can do it using the show open file picker action, but I want it to happen automatically in the desktop export, or if it can't happen automatically, it needs to happen in the background, without the player choosing a file through the open file picker.

    I'm sure I can use the built-in save and load actions, but I want to publish this game on Steam, so I need to make sure this feature is compatible with Steam's cloud save.

    So, my question is how to do either of these two:

    1. How to load a JSON file that I know the name of without opening the open file dialog

    or

    2. How to make Construct 3's save and load functions compatible with Steam's cloud save.

    Thanks in advance.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Nobody is answering, I'm doomed.

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