How do I set width of SpriteFont to the Text Input value?
Can you please explain a little better what you are trying to accomplish?
Develop games in your browser. Powerful, performant & highly capable.
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.
Ashley is it possible to count the words or letters in a text ?