Closed kyranstar closed 9 years ago
You can get a spritefont from the content manager. It would be easiest to use one of the fonts that I have already added (for the menu) from the content folder -- you just pass the name of one of those files to that LoadContent
method that I linked to above.
Okay, cool. Thanks.
How do I render text to the screen? I saw the method SpriteBatch.DrawString (SpriteFont, String, Vector2, Color) but that needs a SpriteFont and I haven't figured out how to add one to a monogame project.