Adding Fonts.

For questions about using Classic.

Post » Wed Aug 13, 2008 5:37 am

Okay, well for my current project I want to use the font Percolator Expert (I have no idea where I got it) - anyway, it's definitely not a default Windows font, and I was wondering how I could package it into my exe. I was going to try adding it as a Font resource but unfortunately I cannot add font resources (right clicking Fonts in the resource bar does nothing, and I can't drag it on or anything) - I'm not sure if that's simply unimplemented or if that's a bug.

I also tried adding it as a Binary resource, but unsurprisingly that didn't work.

Is there any way I could add it without needing to fiddle about?



Oh, and another thing - the Box object's Set Y event (or its height variable) is broken in some way.
http://users.d2k5.com/Razel/files/Shinbox_0.cap - The .cap
http://users.d2k5.com/Razel/files/percexp.ttf - And the .ttf file.
Right Click->Save As, because D2K5 doesn't have any file definitions so it will just open them as text. D:
B
3
S
2
G
4
Posts: 130
Reputation: 1,735

Post » Wed Aug 13, 2008 12:41 pm

At the moment your only solution is to make an installer for your game, and have the installer install the font. We're planning something to handle fonts for you in future, but I don't know when we'll get round to adding features like that.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,534

Post » Wed Aug 13, 2008 2:21 pm

Fair enough. I thought that there had to be a legitimate reason for an installer option.
B
3
S
2
G
4
Posts: 130
Reputation: 1,735


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests