Changed dependencies, added dependencies for TTF rendering.

This commit is contained in:
2020-06-26 22:10:29 -05:00
parent 0225f0821c
commit 364803bf6c
5 changed files with 43 additions and 32 deletions

View File

@@ -51,7 +51,7 @@ namespace SlatedGameToolkit.Tools.Utilities.Playground
camera = new Camera2D(2, 2);
renderer = new MeshBatch(camera);
logoTexture = TextureLoader.LoadTexture("Resources/Playground/yhdnbgnc.png", null);
logoTexture = TextureLoader.Load2DTexture("Resources/Playground/yhdnbgnc.png", null);
logo = new RectangleMesh(logoTexture, Color.White);
logo.Width = 0.5f;
logo.Height = 0.5f;
@@ -59,7 +59,7 @@ namespace SlatedGameToolkit.Tools.Utilities.Playground
logo.Y = -0.25f;
fillerTexture = TextureLoader.LoadTexture("Resources/Playground/filler.png", null);
fillerTexture = TextureLoader.Load2DTexture("Resources/Playground/filler.png", null);
textureTester = new RectangleMesh(fillerTexture, Color.White);
textureTester.Width = 0.15f;
textureTester.Height = 0.15f;