use of com.badlogic.gdx.assets.AssetDescriptor in project ProjektGG by eskalon.
the class LoadingScreen method HANDWRITTEN_FONT_20_PATH.
public final AssetDescriptor<BitmapFont> HANDWRITTEN_FONT_20_PATH() {
FreeTypeFontLoaderParameter font = new FreeTypeFontLoaderParameter();
font.fontFileName = "fonts/ReenieBeanie/ReenieBeanie.ttf";
font.fontParameters.size = 20;
return new AssetDescriptor<BitmapFont>("handwrittenFont20.ttf", BitmapFont.class, font);
}
use of com.badlogic.gdx.assets.AssetDescriptor in project ProjektGG by eskalon.
the class LoadingScreen method MAIN_FONT_19_PATH.
// Assets for the UI skin
public final AssetDescriptor<BitmapFont> MAIN_FONT_19_PATH() {
FreeTypeFontLoaderParameter font = new FreeTypeFontLoaderParameter();
font.fontFileName = "fonts/AlemdraSC/AlmendraSC-Regular.ttf";
font.fontParameters.size = 19;
return new AssetDescriptor<BitmapFont>("mainFont19.ttf", BitmapFont.class, font);
}
use of com.badlogic.gdx.assets.AssetDescriptor in project ProjektGG by eskalon.
the class LoadingScreen method LETTER_FONT_20_PATH.
public final AssetDescriptor<BitmapFont> LETTER_FONT_20_PATH() {
FreeTypeFontLoaderParameter font = new FreeTypeFontLoaderParameter();
font.fontFileName = "fonts/Fredericka_the_Great/FrederickatheGreat-Regular.ttf";
font.fontParameters.size = 20;
return new AssetDescriptor<BitmapFont>("letterFont20.ttf", BitmapFont.class, font);
}
Aggregations