1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 17:02:55 +08:00

Show bonus text if contains bonus points (1,000)

This commit is contained in:
iiSaLMaN 2019-08-20 21:51:32 +03:00
parent 07795c9922
commit e4179fe440

View File

@ -225,6 +225,12 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
tick.HasBonusPoints = Progress >= 1 && i > Spinner.SpinsRequired;
if (tick.HasBonusPoints)
bonusCounter
.TransformTextTo($"{(i - Spinner.SpinsRequired) * 1000}")
.FadeOutFromOne(1500)
.ScaleTo(1.5f).ScaleTo(1f, 1000, Easing.OutQuint);
tick.TriggerResult(HitResult.Great);
}