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.26 - More Base Tenses44 days ago
- Version 1.25 - Word & Verb Improvements46 days ago
- Version 1.20 - Adaptive Experience Bar57 days ago
- Version 1.10 - Cloud Saving Descends61 days ago
- Version 1.04 - Touch Screen Fixes, EXP Adjustment66 days ago
- Version 1.03 - Improved Saves67 days ago
- Version 1.02 - Further Refinements67 days ago
- Version 1.01 - Performance Update69 days ago
- Version 1.00 - First Functional Release!69 days ago
Leave a comment
Log in with itch.io to leave a comment.