Data saving other than using CCUserDefaults

Hi all, we tried using CCUserDefaults for data saving in our cocos2d-x game and we decided that we prefer NSCoding for data storage, so we created our own version of NSCoding for Cocos2d-x which we are open sourcing. It is called CCNSCoding

Stores all saved data as JSON file

  1. Uses rapidjson for parsing/saving https://code.google.com/p/rapidjson/
  2. Follows the naming conventions of NSCoding such as initWithCoder etc
  3. Has a sample HelloWorld xcode Cocos2d-x project for you to run and try

The link is here https://github.com/gibtang/CCNSCoding