mirror of
https://github.com/ppy/osu.git
synced 2026-05-25 01:00:00 +08:00
Add main menu music back.
This commit is contained in:
@@ -24,7 +24,7 @@ namespace osu.Game.GameModes.Menu
|
||||
|
||||
protected override bool IsTopLevel => true;
|
||||
|
||||
//private AudioTrack bgm;
|
||||
private AudioTrack bgm;
|
||||
|
||||
protected override BackgroundMode CreateBackground() => new BackgroundModeDefault();
|
||||
|
||||
@@ -37,8 +37,10 @@ namespace osu.Game.GameModes.Menu
|
||||
AudioSample welcome = Game.Audio.Sample.Get(@"welcome");
|
||||
welcome.Play();
|
||||
|
||||
//bgm = Game.Audio.Track.Get(@"circles");
|
||||
//bgm.Start();
|
||||
bgm = Game.Audio.Track.Get(@"circles");
|
||||
bgm.Looping = true;
|
||||
bgm.Start();
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new ParallaxContainer
|
||||
|
||||
Reference in New Issue
Block a user