1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-07 23:23:12 +08:00

Merge pull request #30624 from Hiviexd/fix-constant-algorithm-scroll-speed

Adjust osu!taiko constant scroll algorithm to match expectations
This commit is contained in:
Dean Herbert 2024-11-15 15:37:24 +09:00 committed by GitHub
commit b3b18680ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,8 +84,11 @@ namespace osu.Game.Rulesets.Taiko.UI
protected virtual double ComputeTimeRange()
{
// Adjust when we're using constant algorithm to not be sluggish.
double multiplier = VisualisationMethod == ScrollVisualisationMethod.Constant ? 4 * Beatmap.Difficulty.SliderMultiplier : 1;
// Using the constant algorithm results in a sluggish scroll speed that's equal to 60 BPM.
// We need to adjust it to the expected default scroll speed (BPM * base SV multiplier).
double multiplier = VisualisationMethod == ScrollVisualisationMethod.Constant
? (Beatmap.BeatmapInfo.BPM * Beatmap.Difficulty.SliderMultiplier) / 60
: 1;
return PlayfieldAdjustmentContainer.ComputeTimeRange() / multiplier;
}