mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 13:32:54 +08:00
Simplify intro sequence a bit more
This commit is contained in:
parent
552a361a24
commit
97b238d084
@ -193,18 +193,15 @@ namespace osu.Game.Screens.Menu
|
||||
setDefaults();
|
||||
|
||||
mediumRing.ResizeTo(130, 360, Easing.InExpo).OnComplete(r => r.Foreground.ResizeTo(1, 420, Easing.OutQuad));
|
||||
smallRing.ResizeTo(logo_size * 0.086f, 250, Easing.InExpo).OnComplete(r => r.Foreground.ResizeTo(1, 650, Easing.OutQuad));
|
||||
|
||||
Func<double> remainingTime = () => length - TransformDelay;
|
||||
|
||||
using (BeginDelayedSequence(200, true))
|
||||
using (BeginDelayedSequence(360, true))
|
||||
{
|
||||
welcomeText.FadeIn(700);
|
||||
welcomeText.TransformSpacingTo(new Vector2(20, 0), 1500, Easing.Out);
|
||||
welcomeText.TransformSpacingTo(new Vector2(20, 0), remainingTime(), Easing.Out);
|
||||
|
||||
smallRing.ResizeTo(logo_size * 0.086f, 250, Easing.InExpo).OnComplete(r => r.Foreground.ResizeTo(1, 650, Easing.OutQuad));
|
||||
|
||||
using (BeginDelayedSequence(160, true))
|
||||
{
|
||||
const int bar_duration = 700;
|
||||
const int bar_resize = 150;
|
||||
|
||||
@ -269,7 +266,6 @@ namespace osu.Game.Screens.Menu
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void setDefaults()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user