I'm working now on a mini game, a very simple one and I don't want to complicate things too much with saves, so I was wondering if I can do something like this:
I have a variable called : unlocked_levels:Int = 0
When I finish level 1 I change my unlocked_levels to 1 and so on. However when I exit the game and come back I want my game to know about this unlocked_level variable, or when I go to the Main Menu I can choose from whatever levels I would like to. I was looking to the save action, but I wasn't sure what should I do there
Comments