Steamworks (Construct 3 Plugins)

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

  • Order by
  • 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.