1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 04:53:21 +08:00

Change transforms to roughly match fallback visually

This commit is contained in:
Shivam 2020-06-08 15:31:30 +02:00
parent d002c0c03f
commit f80cdeac5c

View File

@ -127,7 +127,10 @@ namespace osu.Game.Screens.Menu
{ {
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Origin = Anchor.Centre, Origin = Anchor.Centre,
Scale = new Vector2(0.5f), Scale = new Vector2(0.3f),
Width = 750,
Height = 78,
Alpha = 0,
Texture = textures.Get(@"Welcome/welcome_text@2x") Texture = textures.Get(@"Welcome/welcome_text@2x")
}, },
}; };
@ -139,10 +142,11 @@ namespace osu.Game.Screens.Menu
double remainingTime() => delay_step_two - TransformDelay; double remainingTime() => delay_step_two - TransformDelay;
using (BeginDelayedSequence(250, true)) using (BeginDelayedSequence(0, true))
{ {
welcomeText.FadeIn(700); welcomeText.ResizeHeightTo(welcomeText.Height*2, 500, Easing.In);
welcomeText.ScaleTo(welcomeText.Scale + new Vector2(0.5f), remainingTime(), Easing.Out).OnComplete(_ => welcomeText.FadeIn(remainingTime());
welcomeText.ScaleTo(welcomeText.Scale + new Vector2(0.1f), remainingTime(), Easing.Out).OnComplete(_ =>
{ {
elementContainer.Remove(visualizer); elementContainer.Remove(visualizer);
circleContainer.Remove(blackCircle); circleContainer.Remove(blackCircle);