cross-platform storage?

Hi,

How do you store game data in the device memory? Does Cocos offer any solution for this or do we have to move to native features on each platform?

Best,

JB
@jboschaiguade

You can use CCUserDefault directly, or refer to its design and write your own one.
If your data is complicated, integrating SQLite is recommended,

that’s great, I didn’t know about CCUserDefault (http://www.cocos2d-x.org/embedded/cocos2d-x/d2/de0/class_c_c_user_default.html). Thanks