1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 16:47:46 +08:00

Adjust animation

This commit is contained in:
Dean Herbert 2024-03-14 22:38:59 +08:00
parent 42bd558d7c
commit d7769ec3e2
No known key found for this signature in database

View File

@ -112,7 +112,7 @@ namespace osu.Game.Screens.Play
// The transition effects.
outerContent.FadeIn().ScaleTo(Vector2.Zero).Then().ScaleTo(Vector2.One, 200, Easing.OutQuint);
innerContent.FadeIn().ScaleTo(Vector2.Zero).Then().ScaleTo(Vector2.One, 400, Easing.OutElasticHalf);
countdownComponents.FadeOut().Then().Delay(50).FadeTo(1, 100);
countdownComponents.FadeOut().Delay(50).FadeTo(1, 100);
// Reset states for various components.
countdownBackground.FadeIn();
@ -166,7 +166,7 @@ namespace osu.Game.Screens.Play
if (countdownComplete)
{
countdownProgress.ScaleTo(2f, 300, Easing.OutQuint);
countdownProgress.Delay(200).FadeOut(100, Easing.Out);
countdownProgress.FadeOut(100, Easing.Out);
}
else
countdownProgress.FadeOut();