1
vote
1answer
50 views

How do I measure a string that will be drawn with SpriteBatch?

Is there a way to measure width and height of an ever-changing string (a player's score, specifically)?
1
vote
2answers
627 views

Does XNA/MonoGame have a text caching mechanism, or has an open source one been implemented?

I'm playing around with MonoGame, and I've noticed the SpriteFont class draws static text very inefficiently. Each time the text is drawn the spacing is recalculated. This isn't a big deal on my quad ...