Version 1.05 - Improved Saves (For Real This Time)
Unless I somehow messed it up, the saving and loading should now be significantly more persistent on mobile (finally).
Saving and loading on mobile was still very touch-and-go and often prone to the whims of the local storage. I spent hours and hours trying to get to save the game data to IndexedDB (very persistent storage) instead of to Local Storage (which is cleared regularly). I probably spent 15+ hours researching, coding, ChatGPT'ing, and studying.
While scouring the documentation for clues, I found this line: "To store persistent data files, like the player's save or settings, you want to use user://
instead of res://
as your path's prefix. By default, the folder name will be inferred from the project name"
That's convenient, I thought. But that's only for executables since it's a file path, so it shouldn't apply to HTML5 since it's on a webs-
"On HTML5 exports, user://
will refer to a virtual filesystem stored on the device via IndexedDB."
"to a virtual filesystem stored on the device via IndexedDB."
"stored on the device via IndexedDB."
INDEXED
DB
...anyway a quick set of changes later and problem solved. Yay...
Files
Get Master 1000: Korean Words
Master 1000: Korean Words
Learn 1000 of the most common words in Korean!
More posts
- Version 1.50 - Stars Aligned!3 days ago
- Version 1.49 - Maximum Oversave18 days ago
- Version 1.44 - Saving ImprovementsJul 21, 2024
- Version 1.40 - Saving Efficiency UpgradeJul 19, 2024
- Version 1.38 - Saving ReliabilityJul 18, 2024
- Version 1.35 - Quicker TopicsJul 16, 2024
- Version 1.32 - Making it CountJul 15, 2024
- Version 1.31 - The Adjective UpdateJul 13, 2024
- Version 1.30 - Accuracy AccuracyJul 11, 2024
- Version 1.29 - Further Verb TweaksJul 10, 2024
Leave a comment
Log in with itch.io to leave a comment.