更新时间:2023-01-06 18:51:54
Kit尚未正式支持位图字体,因此您必须自行实现或使用以下两个选项之一:
Sprite Kit doesn't officially support bitmap fonts yet, so you will either have to implement your own or use one of the two options below:
1)BMGlyph - http://www.bmglyph.com/tutorials-spritekit-bitmap-font/
1) BMGlyph - http://www.bmglyph.com/tutorials-spritekit-bitmap-font/
2)字形设计器 - https://71squared.zendesk.com/hc/en-us/articles/200037472-Using-Glyph-Designer-1-8-with-Sprite-套件
2) Glyph Designer - https://71squared.zendesk.com/hc/en-us/articles/200037472-Using-Glyph-Designer-1-8-with-Sprite-Kit
两者都很棒,将完成这项工作。我个人更喜欢BMGlyph,因为你可以访问的代码和代码是相同的OS X和iOS。
Both are great and will get the job done. I personally prefer BMGlyph because you get access to the code and the code is the same for OS X and iOS.