mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 00:47:20 +08:00
Make intro->mainmenu work better by delaying interactiveness of osu! logo.
This commit is contained in:
parent
e2f680a65f
commit
24ba21363e
@ -288,6 +288,8 @@ namespace osu.Game.Screens.Menu
|
|||||||
//if (OsuGame.IdleTime > 6000 && State != MenuState.Exit)
|
//if (OsuGame.IdleTime > 6000 && State != MenuState.Exit)
|
||||||
// State = MenuState.Initial;
|
// State = MenuState.Initial;
|
||||||
|
|
||||||
|
osuLogo.Interactive = Alpha >= 0.8f;
|
||||||
|
|
||||||
iconFacade.Width = osuLogo.SizeForFlow * 0.5f;
|
iconFacade.Width = osuLogo.SizeForFlow * 0.5f;
|
||||||
base.Update();
|
base.Update();
|
||||||
}
|
}
|
||||||
|
@ -65,9 +65,10 @@ namespace osu.Game.Screens.Menu
|
|||||||
buttons.OnSettings = game.ToggleOptions;
|
buttons.OnSettings = game.ToggleOptions;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void LoadComplete()
|
protected override void OnEntering(GameMode last)
|
||||||
{
|
{
|
||||||
base.LoadComplete();
|
|
||||||
|
base.OnEntering(last);
|
||||||
buttons.FadeInFromZero(500);
|
buttons.FadeInFromZero(500);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user