1, could you tell me how Cocos2d a child node is added in the existing XML?? I project to record player game information, but I only know how to don't know how to read data from the XML to XML to add data??
2, and using cocos2d compatible tiled map editor, how to achieve in a certain layer is removed (or hidden) a map???????
Pray god help, grateful!!!!!!
CodePudding user response:
1. Timyxml2, xmlpullparser what.2. Tmxlayer: : removeTiledAt ()
CodePudding user response:
tinyxml2