How do I set width of SpriteFont to the Input value.

Get help using Construct 2

Post » Thu Oct 09, 2014 9:32 pm

How do I set width of SpriteFont to the Text Input value?
B
31
S
10
G
3
Posts: 310
Reputation: 6,046

Post » Thu Oct 09, 2014 9:54 pm

Can you please explain a little better what you are trying to accomplish?
B
11
S
2
Posts: 46
Reputation: 739

Post » Thu Oct 09, 2014 10:46 pm

When the score is to long, the Spritefont object does not show everything of the text because the width is smaller then the text itself. I want to resize the width automatic when the text gets updated.
B
31
S
10
G
3
Posts: 310
Reputation: 6,046

Post » Fri Oct 10, 2014 9:44 pm

@Ashley is it possible to count the words or letters in a text ?
B
31
S
10
G
3
Posts: 310
Reputation: 6,046


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, Buddhika, R0J0hound and 14 guests