1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 19:32:55 +08:00

Improve animation for legacy skins

This commit is contained in:
Dean Herbert 2023-12-20 20:26:28 +09:00
parent 9b383e3276
commit d2716d8557
No known key found for this signature in database

View File

@ -64,6 +64,15 @@ namespace osu.Game.Skinning
.ScaleTo(0.95f).ScaleTo(finalScale, fade_in_length * 0.2f); // t = 1.4
}
else
{
bool isTick = result != HitResult.Miss;
if (isTick)
{
this.ScaleTo(0.6f);
this.ScaleTo(0.3f, 100, Easing.In);
}
else
{
this.ScaleTo(1.6f);
this.ScaleTo(1, 100, Easing.In);
@ -83,6 +92,7 @@ namespace osu.Game.Skinning
.Then().RotateTo(rotation * 2, fade_out_delay + fade_out_length - fade_in_length, Easing.In);
}
}
}
public Drawable GetAboveHitObjectsProxiedContent() => CreateProxy();
}