About sprite font - character width

Discussion and feedback on Construct 2

Post » Wed Jul 31, 2013 8:21 am

Sorry for my English.

Most of sprite font tool I can found from internet export files like this


In construct


then I make a sprite in photoshop


In construct


Yes, it's looks better , but can you see the spaces in the words?
They are not real spaces.
B
65
S
13
G
3
Posts: 33
Reputation: 5,429

Post » Wed Jul 31, 2013 8:38 am

Hi @ffffff,

Sprite font characters must be monospaced (each stored in an equal sized cell).

blackhornet has created a fantastic tool to do this for you. It might help you to check it out (see here).

Good luck.Blacksmith2013-07-31 08:40:14
B
33
S
6
G
7
Posts: 494
Reputation: 8,252

Post » Wed Jul 31, 2013 9:51 am

Are you setting the width of each letter? You have to do that in Events. Here, see my example:

https://dl.dropboxusercontent.com/u/85412219/forumposts/Fontexample.capx
B
230
S
62
G
33
Posts: 902
Reputation: 40,323

Post » Wed Jul 31, 2013 10:18 am

@Blacksmith

Thank you,but I can't run it on win7 64bit

It keeps crashing.
don't know why.ffffff2013-07-31 10:19:11
B
65
S
13
G
3
Posts: 33
Reputation: 5,429

Post » Wed Jul 31, 2013 10:22 am

[QUOTE=Paradox] Are you setting the width of each letter? You have to do that in Events. Here, see my example:

https://dl.dropboxusercontent.com/u/85412219/forumposts/Fontexample.capx
[/QUOTE]

Thank you,this is best way for now.
B
65
S
13
G
3
Posts: 33
Reputation: 5,429

Post » Wed Jul 31, 2013 11:08 am

@Paradox Download your .capx again, then try to scroll in C2 editor, it perfectly crashes. I think it's a bug...
B
97
S
35
G
29
Posts: 3,139
Reputation: 28,371

Post » Wed Jul 31, 2013 1:40 pm

same think here, C2 crash with your capx
B
38
S
13
G
4
Posts: 152
Reputation: 5,147

Post » Wed Jul 31, 2013 6:09 pm

Weird.

I switch to the View tab and turn off snap to grid and it works without crashing.

That was an example from a bug report, I thought it was a sprite font report, but maybe that was from a snap to grid report...
B
230
S
62
G
33
Posts: 902
Reputation: 40,323

Post » Wed Jul 31, 2013 6:48 pm

I noticed that the grid actually disappears if you scroll, and then it crashes.
ImageImageImage
B
71
S
21
G
231
Posts: 3,691
Reputation: 129,358

Post » Thu Aug 01, 2013 3:35 am

[QUOTE=Paradox] Weird.

I switch to the View tab and turn off snap to grid and it works without crashing.

That was an example from a bug report, I thought it was a sprite font report, but maybe that was from a snap to grid report...[/QUOTE]

I think , it was from "snap grid + sprite font" .
I crash 2 times with this combination .
But it never happen again in the 3rd or 4th.
B
65
S
13
G
3
Posts: 33
Reputation: 5,429

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 6 guests