fnt文字

//fileName是fnt文件的path。在fnt文件的相同目录下有同名png文件。使用ShoeBox.exe生成fnt文件。在fnt文件中修改路径为类似number 及 number.png的格式
let textBMFont = new ccui.TextBMFont(text, filename);
this.addChild(textBMFont);
/
posted @ 2019-12-11 17:23  流星曳尾  阅读(258)  评论(0)    收藏  举报