Saved game data being erased on iPAd

Get help using Construct 2

Post » Sat Feb 06, 2016 3:57 pm

I am making a brick building game designed to work on desktops and tablets with the ability to save your creation.

http://fungooms.com/Funblocks/index.html

At first I tried using the LocalStorage object which worked fine until I started emptying the internet cache and deleting the browser history. The saved data would then be lost.

So I switched to using the save game system option. This seems to work fine on desktop but when I play on iPad, save my game state, clear the history and try to load the saved game it is gone.

Where does Construct2 save the game data? Should it be getting cleared when the history is cleared?
Last edited by babyned on Sat Feb 06, 2016 4:14 pm, edited 1 time in total.
B
5
Posts: 6
Reputation: 245

Post » Sat Feb 06, 2016 4:10 pm

...Just to add to this point, as mentioned here: https://www.scirra.com/tutorials/526/ho ... -savegames

"Savegames are not saved in the cache. The browser cache is a very much temporary storage that is used to save things like images on web pages without having to re-download them every time, and it's regularly cleared. Savegames don't go there (luckily), they are stored in either WebStorage or IndexedDB, which are permanent storages and are not affected by the user clearing their cache."

This was why ~I wanted to use the save game function, but on both Safari and Chrome, once I clear the cache, my saved data is gone
B
5
Posts: 6
Reputation: 245


Return to How do I....?

Who is online

Users browsing this forum: AekiroStudio, rustomatic and 1 guest