Throw in some music. Proof of concept. :/

We need to implement support for looping sounds and also stopping (all)
running sounds, so we don't end up in a big mash-up of noise.
This commit is contained in:
Jan Philipp Timme 2014-11-11 21:31:47 +01:00
parent dd6e5a7f2c
commit 361377a567
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

@ -9,6 +9,7 @@ import de.teamteamteam.spacescooter.background.StarBackground;
import de.teamteamteam.spacescooter.control.Keyboard;
import de.teamteamteam.spacescooter.entity.Player;
import de.teamteamteam.spacescooter.gui.Button;
import de.teamteamteam.spacescooter.sound.SoundSystem;
import de.teamteamteam.spacescooter.utility.GameConfig;
/**
@ -35,6 +36,7 @@ public class MainMenuScreen extends Screen {
player = new Player(GameConfig.windowWidth/2-170, 209);
player.setCanMove(false);
player.setCanShoot(false);
SoundSystem.playSound("music/ScooterFriendsTurbo8Bit.wav");
}
@Override