Changed how the bitmap font prepares characters.

Playground was updated to reflect this.
This commit is contained in:
2020-07-04 13:35:38 -05:00
parent 0e3f1dfef3
commit 75ef59293f
2 changed files with 28 additions and 13 deletions

View File

@@ -80,6 +80,7 @@ namespace SlatedGameToolkit.Tools.Utilities.Playground
font = new BitmapFont("Resources/Playground/earwig_factory_rg.ttf");
font.PixelHeight = 128;
font.PrepareCharacterGroup("ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890".ToCharArray());
}
public void Render(double delta)