SpriteFont Comma Quirk?

For questions about using Classic.

Post » Tue Sep 20, 2011 12:22 am

So I came across a discovery about five minutes ago. When using the normal Text object, setting the text to this:

"Hey there, Max!"
prints out this:
"Hey there, Max!"

Astute observation on my part, eh? However, I love SpriteFont, because it's incredible. Absolutely incredible. But I've happened upon an interesting curiosity...

"Hey there, Max!"
prints out
"Hey there,
Max!"

Upon further investigation, I've found that using a comma seems to automatically put a newline afterwards.

"This is t,he mes,sage system!"
prints out
"This is t,
he mes,
sage system!"

How frustrating. Did I accidentally switch on some sort of option, is it working as intended, or is it just another little bug? I know it's got some, though I've managed to work around pretty much all of them so far. Just wondering if I should just use a different character to represent comma instead.
B
57
S
20
G
7
Posts: 305
Reputation: 8,779

Post » Tue Sep 20, 2011 11:04 pm

"Word Wrap" & "Confine text to bounding box" are some settings that come to mind.
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 6 guests