Added line breaks to bitmap font.
This commit is contained in:
@@ -89,7 +89,7 @@ namespace SlatedGameToolkit.Tools.Utilities.Playground
|
||||
renderer.Draw(logo);
|
||||
renderer.Draw(textureTester);
|
||||
renderer.Draw(untextured);
|
||||
font.Draw(renderer, 0.25f, -0.35f, "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890", Color.White);
|
||||
font.WriteLine(renderer, 0.25f, -0.35f, "ABCDEFGHIJKLMNOPQRSTUVWXYZ\n1234567890", Color.White);
|
||||
renderer.End();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user