I am currently using Cocos2D, but also reading new iOS Sprite Kit docs. However, I'm not able to find how to use bitmap fonts. Is there any trick to use my .fnt
files?
相关问题
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
- Get the NSRange for the visible text after scroll
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Swift - hide pickerView after value selected
- How do you detect key up / key down events from a
- didBeginContact:(SKPhysicsContact *)contact not in
- Attempt to present UIAlertController on View Contr
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/
2) Glyph Designer - https://71squared.zendesk.com/hc/en-us/articles/200037472-Using-Glyph-Designer-1-8-with-Sprite-Kit
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.