1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:33:30 +08:00

Adjust timings and delay disclaimers the same as settings

This commit is contained in:
Dean Herbert 2024-03-16 10:09:49 +08:00
parent a78210c88f
commit 0f8d526453
No known key found for this signature in database

View File

@ -269,12 +269,10 @@ namespace osu.Game.Screens.Play
content.ScaleTo(0.7f);
const double metadata_delay = 750;
const double metadata_delay = 500;
contentIn();
MetadataInfo.Delay(metadata_delay).FadeIn(500, Easing.OutQuint);
disclaimers.Delay(metadata_delay).FadeInFromZero(500, Easing.Out)
.MoveToX(0, 500, Easing.OutQuint);
contentIn(metadata_delay + 250);
// after an initial delay, start the debounced load check.
// this will continue to execute even after resuming back on restart.
@ -352,7 +350,7 @@ namespace osu.Game.Screens.Play
{
if (this.IsCurrentScreen())
content.StartTracking(logo, resuming ? 0 : 500, Easing.InOutExpo);
}, resuming ? 0 : 500);
}, resuming ? 0 : 250);
}
protected override void LogoExiting(OsuLogo logo)
@ -445,16 +443,22 @@ namespace osu.Game.Screens.Play
this.MakeCurrent();
}
private void contentIn()
private void contentIn(double delayBeforeSideDisplays = 0)
{
MetadataInfo.Loading = true;
content.FadeInFromZero(500, Easing.OutQuint);
content.ScaleTo(1, 650, Easing.OutQuint).Then().Schedule(prepareNewPlayer);
using (BeginDelayedSequence(delayBeforeSideDisplays))
{
settingsScroll.FadeInFromZero(500, Easing.Out)
.MoveToX(0, 500, Easing.OutQuint);
disclaimers.FadeInFromZero(500, Easing.Out)
.MoveToX(0, 500, Easing.OutQuint);
}
AddRangeInternal(new[]
{
lowPassFilter = new AudioFilter(audioManager.TrackMixer),