Mythili
Mythili

Reputation: 189

how to save my name,score and levels played in cocos2d

In a game with 5 levels, how to save a name, highest score, levels(which currently he is).

Upvotes: 3

Views: 4726

Answers (1)

Rob Segal
Rob Segal

Reputation: 7625

Probably using NSUserDefaults is the easiest way to go. Me and my team came up with a nice class that encapsulates the use of this class for you...

http://getsetgames.com/2009/10/07/saving-and-loading-user-data-and-preferences/

Upvotes: 4

Related Questions