1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-17 09:22:34 +08:00

Delay round increment sound to match animation better

This commit is contained in:
Dean Herbert
2025-10-06 18:03:53 +09:00
Unverified
parent 2f6bd6605f
commit bc7e02c30b
@@ -266,17 +266,17 @@ namespace osu.Game.Screens.OnlinePlay.Matchmaking.Match
{
progress.ProgressTo((float)round / round_count, 500, Easing.InOutQuart);
roundUpChannel = roundUpSample?.GetChannel();
if (roundUpChannel != null)
{
roundUpChannel.Balance.Value = -OsuGameBase.SFX_STEREO_STRENGTH;
roundUpChannel.Frequency.Value = 1f + round * 0.05f;
roundUpChannel?.Play();
}
Scheduler.AddDelayed(() =>
{
roundUpChannel = roundUpSample?.GetChannel();
if (roundUpChannel != null)
{
roundUpChannel.Balance.Value = -OsuGameBase.SFX_STEREO_STRENGTH;
roundUpChannel.Frequency.Value = 1f + round * 0.05f;
roundUpChannel?.Play();
}
innerCircle
.FadeTo(1, 250, Easing.OutQuint)
.Then()