After go through the database-related posts in cocos2dx’s forum.
Most of posts suggest us to use CCUserDefault to store persistent data.
I thinks that it is a great approach to store small size of data, such as highest score, user’s name…etc.
However, I am going to store about 1000 maps configuration, and read this configuration file back in program when user changes his map every time.
Without SQL, I don’t know how to do it well, and I think it will be slow if I parse a xml configuration by CCUserDefault for 1000 maps every time.
So, does anyone figure out how to link a sqlite library?
There is a related post : http://www.cocos2d-x.org/boards/10/topics/1959
(Actually, I don’t know where to start to something mentioned in this post……)
Or, please let me know how you guys manipulate large size of persistent data in cocos2dx