Ways to speed-up web font applying

Get help using Construct 2

Post » Thu Mar 19, 2015 7:53 am

Hello!

I think most of you knows how to use and install webfonts to use in projects.
But all we know that loading and applying this fonts happens AFTER project preloading.
So if we have Text object on first layout users will see OLD font and after some seconds - NEW font.

Font-files are integrated into project, but we have some delay anyway.
Of course we can use a show-delay before game start but can we guess certanly about delay value?
For example, on my computer it can take ~1 sec. And what if on other is 2 or more?

Any ways to speed-up their loading? Or ways to determine that fonts have already loaded.
How this problem is solved by you?
B
8
Posts: 72
Reputation: 456

Post » Thu Mar 19, 2015 11:24 am

You can to not use a webfont in preload layout, or use Sprite Fonts.
Image
B
15
S
6
Posts: 126
Reputation: 1,755

Post » Fri Mar 20, 2015 5:59 am

This I know by myself.. My question was direct.
Webfonts. On first layout. Check it was loaded. And only after it - show scene.
B
8
Posts: 72
Reputation: 456


Return to How do I....?

Who is online

Users browsing this forum: darcipa, FaeDine, Pulstar, strevor73 and 24 guests