summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2022-09-01 14:51:16 +0600
committerilotterytea <iltsu@alright.party>2022-09-01 14:51:16 +0600
commit0eab151ac6e10da4dc5aca1c0131fb3f9d9e7e75 (patch)
treedd0331f5a89f5e40d760ad953af160379f5f1ade
parent044c317b1304dc380522e8c1abf043798ef89635 (diff)
set the position for mini maxon
-rw-r--r--core/src/com/ilotterytea/maxoning/screens/AssetLoadingScreen.java3
1 files changed, 1 insertions, 2 deletions
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);