Skip to content

Commit 8191d9d

Browse files
authored
Fixes typo and updated instructions for clarity in Chapter 16 of the 2D tutorial (#184)
* Fix typo in SpriteFont loading instructions Corrected a typo in the SpriteFont description section. * Update font file saving instructions in tutorial Clarified instructions for saving the font file using the MGCB Editor. * Update font download instructions for clarity
1 parent 1682939 commit 8191d9d

File tree

1 file changed

+2
-2
lines changed
  • articles/tutorials/building_2d_games/16_working_with_spritefonts

1 file changed

+2
-2
lines changed

articles/tutorials/building_2d_games/16_working_with_spritefonts/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ For most games, the default range is sufficient.
125125
126126
## Loading a SpriteFont Description
127127

128-
To load a SpritFont Description, we use the [**ContentManager.Load**](xref:Microsoft.Xna.Framework.Content.ContentManager.Load%60%601(System.String)) method with the [**SpriteFont**](xref:Microsoft.Xna.Framework.Graphics.SpriteFont) type:
128+
To load a SpriteFont Description, we use the [**ContentManager.Load**](xref:Microsoft.Xna.Framework.Content.ContentManager.Load%60%601(System.String)) method with the [**SpriteFont**](xref:Microsoft.Xna.Framework.Graphics.SpriteFont) type:
129129

130130
```cs
131131
// Loading a SpriteFont Description using the content pipeline
@@ -198,7 +198,7 @@ First, we will need to create a SpriteFont Definition. Open the *Content.mgcb*
198198
199199
### Download the Font File
200200

201-
Next, right-click the following TTF font and choose "Save Link as..." and save it in the same folder as the *04B_30.spriteFont* file we just created.
201+
Next, right-click the following TTF font and choose "Save Link as...". Save the file in the same folder where you created the *04B_30.spriteFont* file using the MGCB Editor. This ensures the font is correctly linked and available for your SpriteFont configuration.
202202

203203
- [04B_30.ttf](./files/04B_30.ttf){download}
204204

0 commit comments

Comments
 (0)