In this article I will be talking about how to use SpriteFont and draw string on XNA . The XNA framework has made it very easy to do this with a class they call the SpriteFont class, coupled with the SpriteBatch class that we saw in the previous. MonoGame lets you draw text using the SpriteFont class, coupled with the SpriteBatch class that we saw in the previous tutorial. In this tutorial, we will make a.
You have to add new a new SpriteFont item to your content project. Inside the. spritefont file, there is FontName element. Replace the default. You need to include those characters in your spritefont. In your spritefont file, you need to have another "region" for greek letters. I wanted to draw a score in my game but I do not find any spritefonts . they all work fine in Word) or if it's some setting in XNA that needs fixing.
I am interested in how you do the SpriteFont generation, and if the source for just that part is available? I know this feature is build into.