Ok,.this is going to be hard to explain (I think). I have a number of objects that need to be destroyed in every level to advance to the next level.
First level starts with 2 objects. You need to destroy at least one of the objects or both for a "perfect" and to advance to the next level. Each level adds one more object,.so the next level there are 3 objects and you need to destroy at least 2 of them to advance and so on. I have an INI that records your best score or number of objects destroyed and it works great,.... Now here's the bad part. Say I'm on the second level (3 objects),.but I only destroy 1 (it still adds it to my best score even though I only destroyed 1) and the level is a "FAIL" because I didn't destroy at least 2 objects and restarts on that level. How can I not add to my best score if it's a failed level?
I know you are probably saying, what the heck is he talking about!! LOL.
I guess the best solution is just save the level the player is on instead of the number of objects destroyed.