I'm new to Corona, and apart from a little C, I'm new to coding :°
I got the hang of this, but I'm still a little unsure.
How do you save?
I mean, if I want to make a game where you can unlock levels as you play through the game, how can I save the results of the player when he quits the app?
I thought about writing the values in a txt, but even though I looked in the doc, I'm not sure at how I can, for example, find the "levels unlocked" words in my doc, and replace the number near it, or read that value and changing a value with that number.
Or is there another way to save?
Then again, if I create some objects within a loop, all those objects will end up with the same "name".
How can I track if one of those object isn't on the screen?
I thought about having an object with isSensor=true, and using the collision, event.other thing to remove event.other.
Is there a better way?