CCDictionary *strings = CCDictionary::createWithContentsOfFile("string.xml");
const char *charchinese = ((CCString*)strings->objectForKey("name"))->getCString();
LabelBMFont *label = LabelBMFont::create(charchinese, "fonts\bitmapFontChinese.fnt");
label->setPosition(visibleSize.width / 2, visibleSize.height / 2);
addChild(label);
编译后报错:
用的是COCOS2DX-3.9的版本,请问上面的方法是2.x版本的吗,3.x 的该如何写。
用COCOS2dx开发的游戏怎么显示中文啊,难道都是用图片的方式加载的吗?
求教大神们的帮助,谢谢!

