//fileName是fnt文件的path。在fnt文件的相同目录下有同名png文件。使用ShoeBox.exe生成fnt文件。在fnt文件中修改路径为类似number 及 number.png的格式
let textBMFont = new ccui.TextBMFont(text, filename);
this.addChild(textBMFont);
/
相关文章:
//fileName是fnt文件的path。在fnt文件的相同目录下有同名png文件。使用ShoeBox.exe生成fnt文件。在fnt文件中修改路径为类似number 及 number.png的格式
let textBMFont = new ccui.TextBMFont(text, filename);
this.addChild(textBMFont);
/
相关文章: