Commit 65bec869 authored by Nils Hein's avatar Nils Hein
Browse files

Freetype Schriftart geändert

parent 4efcdf25
......@@ -52,17 +52,17 @@ public class FrozenNumbersGame extends ApplicationAdapter {
assets.setLoader(BitmapFont.class, ".ttf", new FreetypeFontLoader(resolver));
FreetypeFontLoader.FreeTypeFontLoaderParameter size1Params = new FreetypeFontLoader.FreeTypeFontLoaderParameter();
size1Params.fontFileName = "fonts/Colbert_.ttf";
size1Params.fontFileName = "fonts/crayon.ttf";
size1Params.fontParameters.size = 10;
assets.load("size10.ttf", BitmapFont.class, size1Params);
FreetypeFontLoader.FreeTypeFontLoaderParameter size2Params = new FreetypeFontLoader.FreeTypeFontLoaderParameter();
size2Params.fontFileName = "fonts/Colbert_.ttf";
size2Params.fontFileName = "fonts/crayon.ttf";
size2Params.fontParameters.size = 20;
assets.load("size20.ttf", BitmapFont.class, size2Params);
FreetypeFontLoader.FreeTypeFontLoaderParameter size3Params = new FreetypeFontLoader.FreeTypeFontLoaderParameter();
size3Params.fontFileName = "fonts/Colbert_.ttf";
size3Params.fontFileName = "fonts/crayon.ttf";
size3Params.fontParameters.size = 40;
assets.load("size40.ttf", BitmapFont.class, size3Params);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment