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:
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