mirror of
https://github.com/osukey/osukey.git
synced 2025-06-03 20:07:18 +09: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…
x
Reference in New Issue
Block a user