Save game settings

Save game settings
0.0 0


What is the simplest way to save the game settings? One may implement everything using FileUtils, but probably, there exists a better solution?


use libxml2. It’s integrated in each platform/third_party, because the parsing of .plist file requries it.


So, basically you suggest to use FileUtils + some parsing, right?


libxml2 has integrated standard c file IO in itself.
You can use the lib directly, plz refer to CCTMXXMLParser.cpp, .e.g. CCTXMMapInfo::parseXMLFile