Help about setting web font

0 favourites
  • 3 posts
From the Asset Store
Creepy Sprite Font suitable font for your Dark/Horror/Halloween games.
  • Hello,

    I'm setting the font face well, it works fine. I followed that tutorial

    construct.net/en

    Here is my problem ,

    I'm adding set font face at on start of layout; but when i testing it, it starts with default font and after x milliseconds it turns to my web font. I don't want to see that "shaking", i found that some people are changing visibility and delaying. However I cant know that delaying time. So is there any way to know if the web font changing is finished?

    Second question is, i don't want to set every text manually , is there any way to set it globally to every text object.

    Maybe the third question, i didn't make it to set all text objects' fonts at the loading screen. Am I have to do it at the every layouts starting?

  • To answer your second question, you can create a family group and place all your text objects in there, then apply set font face to the family.

    You need to set the text at the start of each layout.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm afraid you can't detect when a web font has finished loading, browsers don't yet provide this feature. Workarounds are discussed in this tutorial though.

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