summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2022-12-10 21:54:03 +0600
committerilotterytea <iltsu@alright.party>2022-12-10 21:54:03 +0600
commit8bb4283f7969fdd9feae3537dbb584f97ecb414b (patch)
treec16eb6dc59d99f44f2349604da76d35279864839 /core
parent902cfb427e1f102caadc1ee1ebbca15686b050d2 (diff)
Menu music for mobile friends
Diffstat (limited to 'core')
-rw-r--r--core/src/com/ilotterytea/maxoning/screens/MobileMenuScreen.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/com/ilotterytea/maxoning/screens/MobileMenuScreen.java b/core/src/com/ilotterytea/maxoning/screens/MobileMenuScreen.java
index 9bf9365..f97452b 100644
--- a/core/src/com/ilotterytea/maxoning/screens/MobileMenuScreen.java
+++ b/core/src/com/ilotterytea/maxoning/screens/MobileMenuScreen.java
@@ -2,6 +2,7 @@ package com.ilotterytea.maxoning.screens;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Screen;
+import com.badlogic.gdx.audio.Music;
import com.badlogic.gdx.files.FileHandle;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Texture;
@@ -55,6 +56,9 @@ public class MobileMenuScreen implements Screen {
TextureAtlas brandAtlas = game.assetManager.get("sprites/gui/brand.atlas", TextureAtlas.class);
sav = GameDataSystem.load("latest.sav");
+ Music menuMusic = game.assetManager.get("mus/menu/mus_menu_loop.ogg", Music.class);
+ menuMusic.setLooping(true);
+ menuMusic.play();
// Background:
bg = new MovingChessBackground(