mirror of
https://github.com/ppy/osu
synced 2025-01-09 15:49:32 +00:00
Animation changes
This commit is contained in:
parent
abe5a67bc5
commit
85de1a1d20
@ -188,17 +188,16 @@ namespace osu.Game.Screens.Import
|
|||||||
{
|
{
|
||||||
base.OnEntering(last);
|
base.OnEntering(last);
|
||||||
|
|
||||||
contentContainer.FadeOut().Then().ScaleTo(0.8f).RotateTo(-15).MoveToX(300)
|
contentContainer.FadeOut().Then().ScaleTo(0.95f)
|
||||||
.Then()
|
.Then()
|
||||||
.ScaleTo(1, 1500, Easing.OutElastic)
|
.ScaleTo(1, 300, Easing.OutQuint)
|
||||||
.FadeIn(500)
|
.FadeIn(300);
|
||||||
.MoveToX(0, 500, Easing.OutQuint)
|
|
||||||
.RotateTo(0, 500, Easing.OutQuint);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool OnExiting(IScreen next)
|
public override bool OnExiting(IScreen next)
|
||||||
{
|
{
|
||||||
contentContainer.ScaleTo(0.8f, 500, Easing.OutExpo).RotateTo(-15, 500, Easing.OutExpo).MoveToX(300, 500, Easing.OutQuint).FadeOut(500);
|
contentContainer.ScaleTo(0.95f, 300, Easing.OutQuint)
|
||||||
|
.FadeOut(300);
|
||||||
this.FadeOut(500, Easing.OutExpo);
|
this.FadeOut(500, Easing.OutExpo);
|
||||||
|
|
||||||
return base.OnExiting(next);
|
return base.OnExiting(next);
|
||||||
|
Loading…
Reference in New Issue
Block a user