摘要: unsigned long len = 0; char* pBuffer = (char*)CCFileUtils::sharedFileUtils()->getFileData("map.tmx", "rt", &len); CCTMXTiledMap* cme=CCTMXTiledMap::createWithXML(pBuffer,NULL);用这种方法创建tmx地图可能会失败,跟踪调试进取看到,在解析xml中int result = xmlSAXUserParseMemory( &saxHandler, this, pXML 阅读全文
posted @ 2013-03-27 13:18 风亦兮 阅读(899) 评论(0) 推荐(0) 编辑