Onix Games's Recent Forum Activity

  • Yes, having both systems can definitely be useful for testing—using the save/load system for quick previews in Construct while relying on FileSystem for SteamCloud integration.

  • You're welcome! And yes, that seems to be the way to do it. As fedca said, it works like this: you can save to a JSON string, and then you can save that JSON string to a file on the computer. That file will then be synced via cloud save.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I thought this picture might be helpful for anyone trying to configure Steam Cloud between a Windows PC and a Steam Deck:

    It is working fine together with the code of my sample file above.

  • Hi guys, thanks for the directions! Yeah it is a good idea storing the information in a separate file that can be synced between devices. I have checked with Steam Cloud and it works. Thanks, that was super helpful :)

    Here’s the file for everyone to see how I did it:

    https://drive.google.com/file/d/1pTDrkZZD7mdk1mPnu6Bb0YDQRQ1krTEN/view

  • Thanks for this, Ashley, that is simpler and more elegant. However, this solution only works on my PC. If I play on my Windows PC and then switch to Steam Deck, it won’t work because Local Storage is device-specific. So I need a way to determine the latest save if I use Steam Cloud to save game across devices.

  • Hey everyone,

    I've been working on save game system that works with Windows WebView 2 Export. Instead of saving everything to a single file, I thought it'd be smarter to use 3 files:

    • save1
    • save2
    • save3

    Each time a player saves, the game cycles through these files. This way, if something goes wrong -like the player gets stuck or a save file gets corrupted — they have 2 others saves.

    It works fine during gameplay, but I need to figure out which of the three saves is the most recent when I sync and load the game across different devices using Steam Cloud.

    Is there a way to identify the latest save file? Is there a method to sort these files by their last modified date within Construct 3?

    Any advice or suggestions would be greatly appreciated!

    I have prepared a file where you can check my code:

    https://drive.google.com/file/d/1pTDrkZZD7mdk1mPnu6Bb0YDQRQ1krTEN/view?usp=sharing

  • Hi Ashley,

    Thanks so much for your help! That works great 😊 I’ve updated the file, so here’s a working example for everyone:

    https://drive.google.com/file/d/1mnY1Qz9ltXWAuC6-R2TYTah1VVfVnJk3/view

  • I’ve been experimenting with the File System plugin in Construct 3, but it seems that the File System plugin doesn’t work when I do a regular preview in Construct 3 (probably due to browser limitations). It works perfectly fine when I export to Windows Web View 2 file.

    Is there a way to check if the File System plugin is active or available during runtime? If the File System isn’t accessible, I’d like to create a condition where the game loads data from a Save Slot instead of from the file system.

    If anyone knows how to implement this kind of fallback mechanism, I’d really appreciate your guidance.

  • Thanks for the advice Ashley, that totally works!

    Here's an example file that demonstrates this in action:

    https://drive.google.com/file/d/1mnY1Qz9ltXWAuC6-R2TYTah1VVfVnJk3/view?usp=sharing

  • Hi Everyone,

    So I made some progress!

    I figured out how to save to a custom folder using NW.js. Here's an updated example—it works perfectly fine:

    drive.google.com/file/d/1uJ5eoSmSMkeTfc73JVw9ke82KAwC8vcc/view

    However, the size of this simple game is very big (135MB zipped, unzipped is 288MB). So… I would love to achieve the same functionality using the new File System object and Windows WebView2 export instead.

    If anyone has any ideas or examples on how to do this, please let me know! 🙏

  • Hi everyone,

    I’m working on a simple platformer in Construct 3 and need some help with implementing a save system using the new File System features.

    Here’s what I have so far:

    • Currently, I’m using the standard save system in Construct 3, and the game saves to a save slot.
    • If player overlaping a save point and press S - that will save the game.
    • If the player collides with spikes, they die, and the game reloads from the last save point.

    What I’m trying to achieve: I want to move away from the default save system and instead save the game to a folder of my choice, such as:

    C:\Users\User\Saved Games

    The reason for this change is to use Steam Cloud, enabling me to sync saves between my Windows PC and Steam Deck.

    I’ve created an example where you can see the code in action. You can check it out here:

    https://drive.google.com/file/d/1b_gROETrNmLasAgryC0HaxnppI6B6Jsh/view?usp=sharing

    I’m unsure how to configure the File System to let the me choose or define the save folder. Any advice, examples, or suggestions on how to achieve this would be much appreciated. Looking forward to your feedback! 😊

    Thanks in advance for your help!

  • Oh, I'm thrilled to have stumbled upon this topic; I'm facing a similar issue with Steam cloud save. I'm curious, have you managed to resolve your problem, did you find location of the save file? Any advice would be greatly appreciated."

Onix Games's avatar

Onix Games

Member since 2 Jun, 2013

Twitter
Onix Games has 12 followers

Trophy Case

  • 11-Year Club
  • x3
    Popular Game One of your games has over 1,000 players
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies