0
Answered

Reset statistics

Pandar 5 months ago in Game Creator updated by Marti (Lead Developer) 5 months ago 3

Hi. How do I reset statistics (number of coins, purchases) correctly?

Unity version:
Game Creator version:
GOOD, I'M SATISFIED
Satisfaction mark by Pandar 5 months ago
Answered

There's no reset button apart from Variables. If you want to restart a game, you can use the Delete Profile action and all values will be erased and reset to their default ones.

Accordingly, the save button must have a different profile number? Or can I leave the same one and it will be overwritten again?

You can have the same profile number and will be overwritten. However, if you have already loaded a game profile (let's say profile 0) and delete that one, the scene will be reloaded. If you delete a profile that is not the one you've loaded, then it will simply remove the data, but won't reload the current scene (since it doesn't affect it).