Steamworks (Construct 3 Plugins)

You're viewing a single comment in a conversation. View all the comments
  • 6 Comments

  • Order by
  • Any tutorial or video teaching how to save to the Cloud using the File System? I use LocalStorage and Array to save, but the location of the json is unknown.

      • [-] [+]
      • 2
      • Ashley's avatar
      • Ashley
      • Construct Team Founder
      • 2 points
      • (4 children)

      There's a section describing how you can set this up in the 'Documentation' tab of this addon.

      • Sorry for the huge text haha, thank you very much, I feel that this part of saving a JSON and loading it is what is missing in Construct3, and if it has already been implemented I need to learn now, after that the sky is the limit..

        Congratulations for the attention to the community, let's dethrone Unity HAHA

      • Thanks for replying Ashley, I'm already testing WebView2 with this Addon on Steam, congratulations on the significant improvements :)

        Regarding the explanation in the Documentation, I had commented after reading it, I am confused about how to use it, because according to the posts in the Forum and in the File System Guide, it is mentioned that it is not possible to save a file directly on the user's machine without permission.

        I saw that WebView2 creates a folder in Appdata just like Nwjs, I will test later which of these files are responsible for saving the game and then point to the Steam Cloud...

        According to Documentation tab, I can save my game's JSON in a location using the File System, is there an example of doing this using LocalStorage and Arrays, or even a better way to load a JSON array from Save..?

          • [-] [+]
          • 2
          • Ashley's avatar
          • Ashley
          • Construct Team Founder
          • 2 points
          • (1 child)

          The File System manual entry does say Windows WebView2 is an exception and can write files directly without prompting - see the section "Accessing known folders". The new Linux CEF export option is also an exception (but is currently in beta - the manual will be updated when it's stable), and in future macOS WKWebView will be supported too.