Sprite Font Generator - v3

Discussion of tools and resources for game developers

Post » Thu Aug 08, 2013 4:28 pm

This should be:
1.- a Sticky
2.- Bundled in the releases
@Ashley
@Kyatric
B
18
S
5
G
4
Posts: 568
Reputation: 5,079

Post » Fri Aug 09, 2013 9:02 am

Awesome, it works properly now. Thanks for fixing that!

Also @California, agreed, a sticky thread it is.
Moderator
B
91
S
32
G
33
Posts: 3,005
Reputation: 27,552

Post » Fri Aug 09, 2013 4:26 pm


B
18
S
5
G
4
Posts: 568
Reputation: 5,079

Post » Wed Aug 14, 2013 4:31 am

@blackhornet sometimes the resulting png is 256x2048 - would it be possible to generate a better ratio? like 512x512
B
36
S
8
G
5
Posts: 436
Reputation: 5,967

Post » Wed Aug 14, 2013 5:10 am

The trick is the math has to work. The SpiteFont plugin reads a row then drops to the next row. There can't be much space left on the right, or the plugin will try to draw it. So my algorithm has to optimize for the width first, then the height. That's the down side of optimizing for power-of-two.
ImageImageImage
B
71
S
19
G
179
Posts: 3,476
Reputation: 102,668

Post » Wed Aug 14, 2013 12:21 pm

I made a Sprite Font Tutorial that links to this thread.
https://www.scirra.com/tutorials/629/sprite-fonts-the-how-what-when-where

One thing I noticed, I had fonts made up that use different Character sets, and when I was importing them, since they weren't in the editor anymore, I had to open Construct2's image editor to see what characters to type in the "Character Set."
Could they be added to the text file?

edit: That would make sharing them in the forums easier tooParadox2013-08-14 21:17:50
B
215
S
57
G
32
Posts: 900
Reputation: 38,777

Post » Wed Aug 14, 2013 10:17 pm

@blackhornet the % is not part of the standard text string. I only just found that out. It would be really useful if we could add our own character sets and that your app remembered them for next time, i.e., select from drop down
B
36
S
8
G
5
Posts: 436
Reputation: 5,967

Post » Fri Aug 16, 2013 2:15 am

v1.10 released.
ImageImageImage
B
71
S
19
G
179
Posts: 3,476
Reputation: 102,668

Post » Fri Aug 16, 2013 5:52 am

@blackhornet, thanks but why didn't you include the % sign?
B
36
S
8
G
5
Posts: 436
Reputation: 5,967

Post » Fri Aug 16, 2013 7:07 am

v1.11 released.
ImageImageImage
B
71
S
19
G
179
Posts: 3,476
Reputation: 102,668

PreviousNext

Return to Tools and Resources

Who is online

Users browsing this forum: No registered users and 0 guests