Why my Text Font Change in .apk to Ariel

Not favoritedFavorited Favorited 0 favourites
  • 7 posts
From the Asset Store
OpenAI TTS
$10 USD
Text-to-Speech plugin.Allows your Construct 3 project to convert written text into spoken words
  • in construct 2 i set the text font to Comic Sans MS

    when i test game in the browser it is ok

    but after i build the game all text switch to Ariel

    Why my Text Font Change from Comic San to Ariel

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • hi wizdigitech,

    are you just setting in the instance Font property or using "set web font"?

  • frcol yes i just change the Text Font Property

    see in my word search dlp game the text font property was set to comic sans

    as you can see it ariel

    |

    v

    v

    v

  • it may be that the comic sans is not a supported font anymore for the android compiler u are using... see their settings on that... if u using ludei they have settings on that manner... if ur using intelxdk i think they have it two not sure... if u use some other stuff... have no idea... i didn't done a mobile wrap in a while im focused on standalone apps..(desktop).

    that if its a mobile wrap u are doing... u didn't specified... i just wildly guessed it... if its a html5 wrap u do for browsers... then it might be script minimize if u using that?

    or u forgot to set the font familly for all the text of the same type...

  • Web fonts are pretty but a pain to get working. You need to create a hidden instance of each text object at the start of layout and assign it the web font at the same time. You can use a wait and destroy it later. I have found that this doesn't work with all web fonts and the only way to know is to test/preview on a computer that doesn't have the font you're using installed.

  • Colludium R0J0hound this is the only setting i change on all text object in my games, nothing advance nor technical (no web font) just the basic setting change text property.

    test file

    https://drive.google.com/file/d/0BznEFr ... sp=sharing

    here is the test build apk using intel xdk

    https://drive.google.com/file/d/0BznEFr ... sp=sharing

  • Try following the guidance in this tutorial. There are plenty of things you need to do for web font loading, and this tutorial provides an excellent summary. Also note the work-around at the bottom - you should create a text object on layout start and then immediately load load your web font into it.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)