pinkpanther Posted July 12, 2014 Share Posted July 12, 2014 Hello! I created bitmap font from truetype using BMfont. Unfortuntely on initial screen the game freezes on progress bar filled ca 90 %. Nothing appears on console. What's on? Is there any way the fonts should be prepared to work properly with Panda.js? Regards! Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted July 13, 2014 Share Posted July 13, 2014 Hi pinkpanther I'm using bmGlyph to make bitmap fonts and now that I know all the correct settings, everything work fine. When I export the font, I get two files .fnt and .png - do you have the same? I'm also exporting the .fnt file as sparrow format. I can make a test font for you to try out if you need. Quote Link to comment Share on other sites More sharing options...
pinkpanther Posted July 13, 2014 Author Share Posted July 13, 2014 Hello Ninjadoodle, yes, I got .fnt and .png as the result, but game hangs on loading screen, on progressbar and no messages at console at all. EDIT: it looks like it fails at :game.addAsset('xolonium.fnt'); in assets.js. If You could convert some free fonts from here: http://www.fontspace.com/category/computer eg. moonhouse, xolonium and put it here (size 48, 64) - I would like to test them. Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted July 13, 2014 Share Posted July 13, 2014 Hey no problem! Here are the files .... SD version only (no @2x) - 48 and 64 sizes for both fonts. The reference names for the fonts are Moonhouse64Moonhouse48Xolonium64Xolonium48 Let me know if they work fonts.zip Quote Link to comment Share on other sites More sharing options...
pinkpanther Posted July 14, 2014 Author Share Posted July 14, 2014 Thank you! They work perfectly :-) 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.