Hello Guys,
A Gdevelop newbie here, i started to learn Gd. one week ago. It is fascinating how fast you can do amazing things with this stuff.
I have a problem with creating a save file on android (nothing fancy, i just want to store a number (HighScore) in a file). I checked other related forum topics but so far i cannot make this function work. What is the easyest way to do this? Can someone show an example?
- I was able to build the save function on windows successfully like this:
Save:
Save ToString(GlobalVariable(HighScore)) into file FileSystem::DocumentsPath() + FileSystem::PathDelimiter() + “savetest.txt”
Read:
Load text from FileSystem::DocumentsPath() + FileSystem::PathDelimiter() + “save1test.txt” into scene variable ReadScore
- based on the documentation, the filesystem actions doesn’t work on android, i tried to do the save action using the “storage” actions with and without the full path:
Thank you,
Istvan