Fonts: the best procedures?

Discussion and feedback on Construct 2

Post » Mon Jul 20, 2015 5:02 pm

Hi guys

I intend to make an application that will have a lot of text. What is the best procedure: to use a system font (what would be the most common font ?) or to use a spritefont? I would rather using a system font if that's the best solution. Does the construct 2 embed the font in the application? If so, I can use anyone, right? Thanks a lot.
B
4
S
2
Posts: 125
Reputation: 850

Post » Mon Jul 20, 2015 7:50 pm

Unless you have some specific need for system fonts, definitely go with spritefonts. Better performance and better support.
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Mon Jul 20, 2015 8:16 pm

Another +1 for spritefonts.
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,708

Post » Mon Jul 20, 2015 8:29 pm

definitely spritefont even if we can't refresh the layout view when you use custom "Set character width" on eventsheet
Image Image
B
22
S
13
G
135
Posts: 871
Reputation: 70,320

Post » Mon Jul 20, 2015 9:29 pm

Only use webfonts if you want your game to appear different to each player...
A big fan of JavaScript.
B
74
S
20
G
69
Posts: 2,205
Reputation: 43,832

Post » Tue Jul 21, 2015 9:29 pm

Thank you, guys.

I would suggest a good website to generate sprite sources in PNG

h t t p : / / k v a z a r s . c o m / l i t t e r a /
B
4
S
2
Posts: 125
Reputation: 850

Post » Tue Jul 21, 2015 9:47 pm

@colludium

if I put the font´s file (ttf) inside the folder File, create a css and set the webfont to that family (from css), it works just perfect for me. Is there any other problem in use webfonts that I am missing?
B
18
S
4
G
1
Posts: 143
Reputation: 1,868

Post » Tue Jul 21, 2015 10:02 pm

@frcol, it really depends on the effect you are after and the game you are making use of the font in. I did a Ludum Dare game a year ago which used lots of web fonts and some players reported that the text was not there, too small, too large, not loaded and was system default, and so on.... It was far from consistent.... so I only ever use Text objects for debugging now.
A big fan of JavaScript.
B
74
S
20
G
69
Posts: 2,205
Reputation: 43,832

Post » Tue Jul 21, 2015 11:51 pm

@Braus

This is, by far, the best tool for generating C2 spritefonts:

sprite-font-generator-v2_t86546
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Wed Jul 22, 2015 3:26 pm

Thank you, @TiAm. I used the sprite font generator and others to make tests and I found some issues: Text quality is lost when decreases the size, but the biggest problem is the spaces between characters when it is created in Photoshop, for example. You must configure all of them in the script. Is that right? Any tips?
B
4
S
2
Posts: 125
Reputation: 850

Next

Return to Construct 2 General

Who is online

Users browsing this forum: huZba, Refeuh, tdcostas and 6 guests

cron