Spacing in text object?

For questions about using Classic.

Post » Thu Jun 30, 2011 10:35 pm

Is there a way to space the spacing between characters in the text object?
B
11
S
3
G
8
Posts: 473
Reputation: 4,569

Post » Tue Jul 05, 2011 5:50 pm

There's no way?
B
11
S
3
G
8
Posts: 473
Reputation: 4,569

Post » Tue Jul 05, 2011 6:11 pm

I can't be sure, but the normal text object doesn't look like it supports kerning.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,844
Reputation: 48,289

Post » Tue Jul 05, 2011 7:15 pm

Here's one way to do it using the canvas object and pasting one letter at a time. In between letters the text object is moved by the actual width of the letter + any additional spacing wanted.

http://dl.dropbox.com/u/5426011/examples5/textspacing.cap
B
79
S
24
G
54
Posts: 4,743
Reputation: 40,749

Post » Tue Jul 05, 2011 8:23 pm

Another possible option would be to use the SpriteFont plugin, and adjust the value for 'space size'. Then you could interspace the characters with the space.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,844
Reputation: 48,289

Post » Tue Jul 05, 2011 8:47 pm

Or add an arbitrary ammount of space characters between each letter of your string using a loop... Not quite as handy as the other methods mentionned, but hey, it's the easiest one !
B
46
S
17
G
18
Posts: 845
Reputation: 13,798

Post » Wed Jul 06, 2011 4:17 pm

[QUOTE=zenox98] Another possible option would be to use the SpriteFont plugin, and adjust the value for 'space size'. Then you could interspace the characters with the space.[/QUOTE]

Sprite Object doesn't have set X or Y.
B
11
S
3
G
8
Posts: 473
Reputation: 4,569

Post » Wed Jul 06, 2011 4:21 pm

[QUOTE=Azu] [QUOTE=zenox98] Another possible option would be to use the SpriteFont plugin, and adjust the value for 'space size'. Then you could interspace the characters with the space.[/QUOTE]

Sprite Object doesn't have set X or Y.[/QUOTE]

Also, thank you R0J0hound.
B
11
S
3
G
8
Posts: 473
Reputation: 4,569

Post » Wed Jul 06, 2011 4:30 pm

[QUOTE=Azu] [QUOTE=zenox98] Another possible option would be to use the SpriteFont plugin, and adjust the value for 'space size'. Then you could interspace the characters with the space.[/QUOTE]

Sprite Object doesn't have set X or Y.[/QUOTE]

Simply attach to object(use itself i.e. spritefont) then you can set x and y offsets.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,844
Reputation: 48,289


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests