Sign up ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I calculates the score in game project using android cocos2d, in that game after finishing the first level it goes to the next level, so i want to store that first level score and also add next level scores. how can i store that scores in android-cocos2d.

share|improve this question
I'm not sure about android version, but in cocos2d-x there is a method named CCFileUtils::getWriteablePath(). using that method I can create and save data into a file. – Ali.S Dec 7 '11 at 19:58
can i use shared preferences here or any other way is there for storing that game score – selva Dec 9 '11 at 5:17
As I said I didn't tried anything with android, so I don't even know what are you talking about! you can also check [OpenFeint]( it has a good framework to save/share scores written in java. – Ali.S Dec 9 '11 at 9:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.