Skip to content

Commit da54244

Browse files
committed
Add note on the font file being pregenerated with link to Gum documentation on creating their own
This is in reference to MonoGame#50 AristurtleDev#50 (comment)
1 parent 2a01a7c commit da54244

File tree

1 file changed

+5
-2
lines changed
  • articles/tutorials/building_2d_games/21_customizing_gum_ui

1 file changed

+5
-2
lines changed

articles/tutorials/building_2d_games/21_customizing_gum_ui/index.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,12 @@ The slime and bat sprites are no longer in the same position, and we have some n
134134

135135
### Adding Bitmap Fonts
136136

137-
While MonoGame natively uses [**SpriteFont**](xref:Microsoft.Xna.Framework.Graphics.SpriteFont) to draw text, Gum uses the [AngelCode Bitmap Font (.fnt)](https://www.angelcode.com/products/bmfont/) font file format. This means we will need to supply Gum with the *.fnt* file that defines our font.
137+
While MonoGame natively uses [**SpriteFont**](xref:Microsoft.Xna.Framework.Graphics.SpriteFont) to draw text, Gum uses the [AngelCode Bitmap Font (.fnt)](https://www.angelcode.com/products/bmfont/) font file format. This means we will need to supply Gum with the *.fnt* file that defines our font.
138138

139-
First, download the *.fnt* file by right-clicking the following link and saving it as *04b_30.fnt* in the game project's *Content/fonts* folder:
139+
> [!NOTE]
140+
> For this tutorial, a pregenerated *.fnt* file is supplied below. For more information on creating *.fnt* files for Gum, see the [Create Fonts with BitmapFontGenerator](https://docs.flatredball.com/gum/gum-tool/gum-elements/text/use-custom-font#creating-fonts-with-bitmapfontgenerator) section of the Gum documentation.
141+
142+
Download the *.fnt* file below by right-clicking the following link and saving it as *04b_30.fnt* in the game project's *Content/fonts* folder:
140143

141144
- [04b_30.fnt](./files/04b_30.fnt){download}
142145

0 commit comments

Comments
 (0)