Hi. I've set up a custom font on a text element, but it starts loading only when the text is visible, which is ugly because the font suddently change on the screen when it's loaded. Like from Arial to my custom font.
Any idea ?
Not an actual solution, but what if you first load the font, then set the text to something but have it invisible or with 0 opacity for a second (with the wait action) and then set it visible? I also have noticed this popping, it lasts for a few ticks and it only happens once per game session. I believe that this will hide it. Think of it like a workaround.
Develop games in your browser. Powerful, performant & highly capable.
Have you tried it with a sprite font?
No, I did not. How does this work ?
eli0s : Thank you, I've done something like this to get my font preloaded.