High Score + unlockables
rjreptile1
Member Posts: 5
Hi I am wondering if there is any way that I can make a system for a game where the player collects points, then the attribute is saved, the player quits the game, and then is able to fully close the game, and the points are still there when the player reopens the game? I want it so that people can unlock things based on points, but there is no point to that unless people are going to be able to recover their points after they quit and reopen the game. I know that there have been simular discussion threads like this, but none of them seem to contain a unified answer as to how I can do this. I have also looked on youtube for a solution, the method I tried is as follows: I made it so that when a player gets points it immediately saves the attribute, then at the beginning of my game, I have a 'Load attribue' actor before the menu where the high score would be displayed. The score resets to 0 every time I reopen the app. I appreciate any help. Thank you.
Comments
1) Make sure your "key" is identical in both the save and load attributes.
2) If you're testing on GS viewer, it will not work correctly. Try making an adhoc and testing it there.