Sign in to follow this  
pi_man

[.net] XNA Displaying Text

Recommended Posts

Does anybody around here know of an easy way to display text in xna? i have had a look at some tutorials but they seem to say to use some sort of algorithm for finding the letter you want from a texture of the alphabet which is beyond my mathematical abilities at the moment.

Share this post


Link to post
Share on other sites
SpriteFont is what you're after. There are several tutorials around for it, but I believe it was added in the latest release of XNA Referesh 1.0 or something to that effect.

Share this post


Link to post
Share on other sites
Check the XNA Documentation. The Programming Guide section has a topic titled "How to: Draw Text".

When in doubt, read the manual.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this