Sprite Font Frustrations

Discussion and feedback on Construct 2

Post » Sat Nov 16, 2013 4:31 am

I really appreciate the Sprite Font, and I understand that it was created by a 3rd party for Scirra, but does anyone else wish that it was a little easier to use?

I'm not sure about the difficulties, etc in producing font tools, but does anyone know if the text tool in Photoshop, for example, is effectively a sprite font tool? If so, why are they so different?

My first time using the Sprite Font tool
I select the tool, and add it to the layout. I then realise that I can't just pick a font from my font bank, and have to actually create a font sprite. I search around, and eventually find this great little program.

I then load up the program, choose the font I want to use, fiddle with the height and width, finally get a result I'm pretty much happy with, export the sprite font, import it into Construct 2, find there's something not quite right with it, switch back to the generator and try again.

Once I finally get it the way I want it to look, I start adding it to the game. I then start typing out words, and the spacing is completely messed up. I then have to tweak the properties for the sprite font, and match it to the sprite font generator settings. Once this is done, I notice that the spacing between thin letters and wide letters are the same, and not automatically set up based on character width. I then have to set up an event that selects the characters and sets their spacing. This involves a lot of trial and error, and I even end up missing a few characters, and have to add them in.

A few more minutes of tweaking, and I'm finally done. I then want to have a different font for a different section, and I have to repeat the entire process again.

My first time using the text tool in something like Photoshop
Click text icon, choose font, choose size, start typing... done.

I used Multimedia Fusion 2, and I seem to recall this being a simple process as well. I don't remember having to set spacing, etc., or even import a font sprite.

I don't mean any disrespect toward the programmer for this tool. Far from it. It was repeatedly asked for, and was finally supplied. My problem is that I will only ever use it for numbers, and even then I find it a bit of a hassle. I tend to just create sprites of all the text I want, and import them into my game.

I know it ends up using up more space in my game, but I just find it a lot easier, and a lot faster. However, it's more hassle if I just want to change a word, or I spell something wrong.

Does anyone else have any other comments on this? Am I simply using the tool incorrectly, or does anyone else feel the same?
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
79
S
12
G
7
Posts: 961
Reputation: 10,717

Post » Sat Nov 16, 2013 5:07 am

The link to blackhornets' application for spacing is what I use! When you are using that application and save, it creates a .txt and .xml file, which aid in giving you the easiest route to doing the individual character spacing in Construct 2, by either following the .txt and manually adding events, or importing the .xml file (I do the manual method).
Everything works pretty fine for me really! It takes a bit of fiddling around if you wanted to add effects to your font before you import it (like glow effects) as it leaks onto other characters, but it's all pretty straightforwards after you figure it out once. I've managed to get neat looking spritefonts without too much hassle!
B
51
S
20
G
10
Posts: 571
Reputation: 9,819

Post » Sat Nov 16, 2013 5:52 am

@Jase00

That was just a review of my first use. I can do it faster now, but it's still not what I would consider 'fast'.

How long does it take you from scratch, do you think?
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
79
S
12
G
7
Posts: 961
Reputation: 10,717

Post » Sat Nov 16, 2013 5:56 am

Sounds like the problem is with your bitmap fonts, man. Usually each character is the same size.
Image
B
242
S
29
G
13
Posts: 1,787
Reputation: 18,685

Post » Sat Nov 16, 2013 6:11 am

@MadFactory
You think an l is the same width as a W? Maybe with web font, but generally not sprite font. This is Arial, very common font.

AnD4D2013-11-16 06:13:10
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
79
S
12
G
7
Posts: 961
Reputation: 10,717

Post » Sat Nov 16, 2013 6:31 am

And these are bitmap fonts. They are to be used like tilesets. Again - every character is the same size. No problems.
Image
B
242
S
29
G
13
Posts: 1,787
Reputation: 18,685

Post » Sat Nov 16, 2013 6:56 am

@MadFactory
They don't appear to be the same size to me. They're in an effective grid which is the same size, but that just means there are larger gaps either side of the characters.

Look at "Anikki"

The I looks thinner. Surely if you were to use the C2 Sprite Font editor and type in the word "Illuminated" and "ILLUMINATED".

If you do the same word in Photoshop, the gap is constant throughout.
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
79
S
12
G
7
Posts: 961
Reputation: 10,717

Post » Sat Nov 16, 2013 8:05 am

The widths are set in the events. If you don't use "Give your fonts mono" by BlackHornet, then you have to do it yourself. My tutorial attempts to explain it.
B
226
S
60
G
33
Posts: 902
Reputation: 39,989

Post » Sat Nov 16, 2013 5:11 pm

@Paradox

Thanks, it's great that there is a tutorial, but my post isn't asking how to use it, is effectively asking why there is a need for a tutorial. Is the sprite font tool as easy as it can be?

Why can't it automatically trim down to each character size and then add 1 or 2 pixels to the width? As default. This would allow you to tweak from there if you want different effects, rather than be force to tweak every time. I even find it odd that we have to use a 3rd party program just to use Arial font.

My point is, why is it so different and have so many steps compared to the text tool in photoshop, illustrator, gimp, paint.Net, Multimedia Fusion 2, etc.

I'd rather it be just as simple to use as the standard text tool.

Am I the only one?
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
79
S
12
G
7
Posts: 961
Reputation: 10,717

Post » Sat Nov 16, 2013 5:43 pm

No AnD4D, you are not. I have used the spritefont and had similar results and struggles, even though I followed Paradox's excellent guide. Now sprifont is something I want to do last, because of the hassle it includes which makes it boring. It's not like you are achieving something tangible by solving this problem, you are just making it "normal".

Thus I agree sprifont tool may need an uplift, but I also think there are many other areas that would be better improved with higher priority, like export's, localized obstacle recalculation for pathfinding, improving tilemap editor etc.
B
17
S
4
G
1
Posts: 332
Reputation: 3,099

Next

Return to Construct 2 General

Who is online

Users browsing this forum: vegapomme27 and 1 guest