From 0eab151ac6e10da4dc5aca1c0131fb3f9d9e7e75 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Thu, 1 Sep 2022 14:51:16 +0600 Subject: set the position for mini maxon --- core/src/com/ilotterytea/maxoning/screens/AssetLoadingScreen.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'core/src/com/ilotterytea/maxoning') diff --git a/core/src/com/ilotterytea/maxoning/screens/AssetLoadingScreen.java b/core/src/com/ilotterytea/maxoning/screens/AssetLoadingScreen.java index 1e02a5e..4c2d876 100644 --- a/core/src/com/ilotterytea/maxoning/screens/AssetLoadingScreen.java +++ b/core/src/com/ilotterytea/maxoning/screens/AssetLoadingScreen.java @@ -8,7 +8,6 @@ import com.badlogic.gdx.math.MathUtils; import com.badlogic.gdx.scenes.scene2d.Stage; import com.badlogic.gdx.scenes.scene2d.ui.Label; import com.badlogic.gdx.scenes.scene2d.ui.Skin; -import com.badlogic.gdx.utils.Timer; import com.badlogic.gdx.utils.viewport.ScreenViewport; import com.ilotterytea.maxoning.MaxonGame; import com.ilotterytea.maxoning.ui.AnimatedImage; @@ -38,7 +37,7 @@ public class AssetLoadingScreen implements Screen { TextureRegion[] txrr = SpriteUtils.splitToTextureRegions(M4x0nnes, 112, 112, 10, 5); this.animatedMaxon = new AnimatedImage(txrr); - animatedMaxon.setPosition(Gdx.graphics.getWidth() - animatedMaxon.getWidth() * 0.25f - 8, 8); + animatedMaxon.setPosition(8, 8); animatedMaxon.setScale(0.25f); loadingLabel.setPosition(animatedMaxon.getWidth() * 0.25f + loadingLabel.getX() + 16, 8); -- cgit v1.2.3