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:
parent
07795c9922
commit
e4179fe440
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user