Custom Font Issue

Get help using Construct 2

Post » Sun Apr 07, 2013 9:10 pm

Hello, i'm having a bit of trouble with my custom font on my game. I got it partially working with this tutorial (https://www.scirra.com/tutorials/237/how-to-use-your-own-web-fonts) however, it only changes the font to my desired font if I start on that layout. However, I want to start on the 'game layout' and move onto the other layout when the user has finished the game layout. Any idea to have the font working no matter what layout you start on?

Here's my capx: https://dl.dropbox.com/u/148871510/level.capx

Thanks a lot, Rogalog.
B
12
S
1
Posts: 29
Reputation: 908

Post » Mon Apr 08, 2013 12:02 am

See here it says about loading the web font on the first layout:
https://www.scirra.com/tutorials/236/using-web-fonts-in-the-text-object/page-2

I see you have 'BonusLevelWord: Set web font...' on your game event sheet but you've no 'BonusLevelWord' text object on the game layout.
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,000

Post » Mon Apr 08, 2013 12:06 am

I literally just looked at that about 20 minutes ago, I completely forgot that I posted there, and it doesn't show notifications when someone else replies on that comment section. Thank you anyway, much appreciated!
B
12
S
1
Posts: 29
Reputation: 908

Post » Mon Apr 08, 2013 9:02 pm

Another issue i've came across. When I upload my project to dropbox, and play it online, it takes a few seconds to change the font the default to the custom font when I get on to the layout. I have another textbox on a previous layout which loads the webfont also, but that doesn't seem to matter. Is there any way I can make it be the custom font instantly on the start of the layout?

Thank you.
B
12
S
1
Posts: 29
Reputation: 908

Post » Thu Apr 11, 2013 11:06 pm

No one know the answer to this? :(
B
12
S
1
Posts: 29
Reputation: 908


Return to How do I....?

Who is online

Users browsing this forum: Braus, Yura G and 15 guests