Jump to content

Cocoon Webview+ and bitmap fonts


ptotheaul
 Share

Recommended Posts

I know this topic has been addressed in older posts but none of them specify if they work in Webview+

I currently have a game using 2.10.5 that I want to run in Webview+ but I can't get the bitmap fonts to work.  I tried converting the .fnt(xml) to .json using https://codebeautify.org/xmltojson but it's still not working.  Do I load the json file like:

this.game.load.bitmapFont('drsob', 'assets/fonts/drsob_0.png', 'assets/fonts/drsob.json');

or change the .json extention to .xml and do:

this.game.load.bitmapFont('drsob', 'assets/fonts/drsob_0.png', 'assets/fonts/drsob.xml');

????????

Has anyone else got bitmat fonts to work in Webview+?

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...