From 976cc576b5f51166cb9b248fc3828f3c709ebc02 Mon Sep 17 00:00:00 2001 From: fred-boy Date: Fri, 27 Sep 2019 00:35:27 +0700 Subject: [PATCH] Fix flipped logo --- core/src/ru/deadsoftware/cavedroid/misc/Assets.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/ru/deadsoftware/cavedroid/misc/Assets.java b/core/src/ru/deadsoftware/cavedroid/misc/Assets.java index 109b0a1..0b0b109 100644 --- a/core/src/ru/deadsoftware/cavedroid/misc/Assets.java +++ b/core/src/ru/deadsoftware/cavedroid/misc/Assets.java @@ -14,7 +14,7 @@ public class Assets { public static BitmapFont mcFont; - public static Texture gameLogo; + public static Sprite gameLogo; public static Texture menuBtnTex; public static TextureRegion[] menuBtn = new TextureRegion[3]; @@ -93,7 +93,8 @@ public class Assets { layout = new GlyphLayout(); - gameLogo = new Texture(Gdx.files.internal("gamelogo.png")); + gameLogo = new Sprite(new Texture(Gdx.files.internal("gamelogo.png"))); + gameLogo.flip(false, true); menuBtnTex = new Texture(Gdx.files.internal("buttons.png")); for (int i = 0; i < 3; i++) { -- 2.29.2