diff options
| author | ilotterytea <iltsu@alright.party> | 2022-08-29 00:49:43 +0600 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2022-08-29 00:49:43 +0600 |
| commit | 80565ee5be1c3824b869bb196381a5285df7da2b (patch) | |
| tree | b152694dbad000967c570cad24634020338d4efd /core | |
| parent | 0d9064e47ccc486ee73127adb0bed4f74e741fd7 (diff) | |
load the ninepatch textures
Diffstat (limited to 'core')
| -rw-r--r-- | core/src/com/ilotterytea/maxoning/screens/AssetLoadingScreen.java | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/core/src/com/ilotterytea/maxoning/screens/AssetLoadingScreen.java b/core/src/com/ilotterytea/maxoning/screens/AssetLoadingScreen.java index e3d4c29..3265e43 100644 --- a/core/src/com/ilotterytea/maxoning/screens/AssetLoadingScreen.java +++ b/core/src/com/ilotterytea/maxoning/screens/AssetLoadingScreen.java @@ -4,8 +4,6 @@ import com.badlogic.gdx.*; import com.badlogic.gdx.audio.Music; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.Texture; -import com.badlogic.gdx.graphics.g2d.Animation; -import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.graphics.g2d.TextureRegion; import com.badlogic.gdx.math.MathUtils; import com.badlogic.gdx.scenes.scene2d.Stage; @@ -17,8 +15,6 @@ import com.ilotterytea.maxoning.MaxonGame; import com.ilotterytea.maxoning.ui.AnimatedImage; import com.ilotterytea.maxoning.anim.SpriteUtils; -import java.util.Arrays; - public class AssetLoadingScreen implements Screen { final MaxonGame game; @@ -99,6 +95,13 @@ public class AssetLoadingScreen implements Screen { game.assetManager.load("sprites/ilotterytea.png", Texture.class); game.assetManager.load("sprites/SplashWall.png", Texture.class); + // // Ninepatches: + game.assetManager.load("sprites/ui/save_slot.9.png", Texture.class); + game.assetManager.load("sprites/ui/save_slot_disabled.9.png", Texture.class); + game.assetManager.load("sprites/ui/button_static.9.png", Texture.class); + game.assetManager.load("sprites/ui/button_pressed.9.png", Texture.class); + game.assetManager.load("sprites/ui/button_highlighted.9.png", Texture.class); + // Music: game.assetManager.load("mus/menu/mus_menu_intro.ogg", Music.class); game.assetManager.load("mus/menu/mus_menu_loop.ogg", Music.class); |
