rorypicko Posted May 30, 2014 Share Posted May 30, 2014 I have used the recommended BMFont as suggested in this article here http://www.goodboydigital.com/text-updates/ But when i include the .fnt into my project it crashes with this error in the console Uncaught TypeError: Cannot read property 'slice' of undefined This is frustrating as there is very little documentation, as .fnt format is supposed to just work! And to coincide with limited tutorials on this it says the error is with pixi.min.js line 16 which is 25% of the code. ------------------------------------------------------------------------------------- Basically, the last line i wrote made me unminify the src, include it and debug it. Turns out you need to set the export settings of .fnt to XML and this fixed it. Still going to post this as i've not seen any documentation anywhere specifying that XML export is required Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.