1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-07 19:43:20 +08:00

Reapply "Fix triangles judgement mispositioned on a miss"

This reverts commit 6ec718304e.
This commit is contained in:
Salman Alshamrani 2025-01-21 05:45:37 -05:00
parent 6ec718304e
commit b63d94101c

View File

@ -6,6 +6,7 @@
using osu.Framework.Graphics; using osu.Framework.Graphics;
using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Scoring; using osu.Game.Rulesets.Scoring;
using osuTK;
namespace osu.Game.Rulesets.Mania.UI namespace osu.Game.Rulesets.Mania.UI
{ {
@ -35,8 +36,20 @@ namespace osu.Game.Rulesets.Mania.UI
switch (Result) switch (Result)
{ {
case HitResult.None: case HitResult.None:
this.FadeOutFromOne(800);
break;
case HitResult.Miss: case HitResult.Miss:
base.PlayAnimation(); this.ScaleTo(1.6f);
this.ScaleTo(1, 100, Easing.In);
this.MoveToY(judgement_y_position);
this.MoveToOffset(new Vector2(0, 100), 800, Easing.InQuint);
this.RotateTo(0);
this.RotateTo(40, 800, Easing.InQuint);
this.FadeOutFromOne(800);
break; break;
default: default: