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