MonoGame.Samples icon indicating copy to clipboard operation
MonoGame.Samples copied to clipboard

2D tutorial

Open dogruis opened this issue 7 months ago • 0 comments

https://github.com/MonoGame/MonoGame.Samples/blob/598bed0d559bd1c90c698d2eb8327060b9a82687/Tutorials/learn-monogame-2d/src/16-Working-With-SpriteFonts/DungeonSlime/Content/fonts/04B_30.spritefont#L2

In this section

Creating a SpriteFont Description To use text in your game, you first need to create a SpriteFont Description file and process it through the Content Pipeline, thankfully the MGCB Editor makes this process straightforward.

For example, in the MGCB Editor:

Right-click the content project node where the SpriteFont Description will be created and choose Add > New Item.... Select SpriteFont Description (.spritefont) from the options. Specify a name for the SpriteFont Description file and click Create. This will create a default SpriteFont Description file that look something like this:

You forgot to mention that when running the MGCB editor you want to create a fonts folder. And give clearer instructions.

dogruis avatar Sep 05 '25 10:09 dogruis