Automatically save your progress

I’m making a mobile game with A shop, and I want to know how to make it so it saves when you buy stuff.
is there any way to do this?

plz no BS ok?

I will never spread BS :smiley:

I do not know how to write values to a mobile device’s storage system, but one alternate method i can think of (yet not that viable) is to make an device identifier system and use Firebase Firestore as the platform to remember who’s purchased what. (based off device IDs)

Writing to storage on mobile is just like writing to storage on PC/web games. Check out this tutorial on saving progress to storage. It’s pretty much one command to write to storage and one or two command to read.


@Blahooga’s suggestion is great if you want to make the stored sales details available from multiple devices.


Err, we tend not to do that in these forums. And the moderators take care of that if someone tries it on.

2 Likes

Writing to storage on mobile is just like writing to storage on PC/web games

ooh! so do the storage operations actually carry across each app launch? I always assumed it would just reset that stuff as it writes to the device RAM (i think), i may have misunderstood it :slight_smile:

Yes, it uses the device’s internal storage. You can view the data using developer tools in the browser or GDevelop editor.

1 Like

thanks for your help