save levels data score and unlocked levels

hello developers ..

i am asking about how to save game data initially level 1 of my game will be unlocked then after completing it level 2 will be unlocked ... etc

my idea is to write them in one file and doing parsing operation when level selector loaded to show just the unlocked levels

have another question what if my game getting an update is the file will be removed or the file will keep the user data ..

thanks in advance

with respect

Thank you @darkconsoles but what if i make update for my game does all data will be removed ? or it will be exists

views:1410 update:2011/10/28 9:34:19
corona forums © 2003-2011