From: fred-boy Date: Thu, 26 Sep 2019 17:35:27 +0000 (+0700) Subject: Fix flipped logo X-Git-Tag: alpha0.4~58 X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=976cc576b5f51166cb9b248fc3828f3c709ebc02;p=cavedroid.git Fix flipped logo --- 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++) {