How do I tell wade to use the fonts I package in the fonts directory. I am going to send with the file. I am at the trial an error stage.

My logic says to set the font in the wsc file if you can as coding a solution would be a mess. How would you 

    "type": "TextSprite",
                    "text": "Connect 3 for points, 4 for EXPLODING GEMS.",
                    "name": "",
                    "font": "50px fonts/luckiest-guy-v10-latin-regular.woff",<<<<<<<<<<<<<<<<<<< Right HERE
                    "alignment": "left",
                    "color": "#b52fb5",
                    "visible": true,
                    "layer": 1,
                    "maxWidth": 0,
                    "shadowColor": "#000",
                    "shadowBlur": 0,
                    "shadowOffset": {
                        "x": 0,
                        "y": 0


or any other solution that I should take, still open to suggestions

1 Comment

Use just the main part of the file name (without the extension), in your case luckiest-guy-v10-latin-regular

But personally I would rename it to something shorter.

The important thing though, is that the font has been added to your scene assets first or this won't work. You can add it in the Scene Assets tab, under Fonts.

Post a reply
Add Attachment
Submit Reply
Login to Reply