Animation changes

This commit is contained in:
MATRIX-feather 2020-12-04 03:19:20 +08:00
parent abe5a67bc5
commit 85de1a1d20

View File

@ -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);