mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 16:13:34 +08:00
5c6cd879dd
Code originally read Velocity = scoringDistance / beatLength = BASE_SCORING_DISTANCE * SliderMultiplier * GetPrecisionAdjustedSliderVelocityMultiplier() / beatLength Given (mathematically, floats are not generally as forgiving): GetPrecisionAdjustedBeatLength() = beatLength / GetPrecisionAdjustedSliderVelocityMultiplier() it follows that (inverting both sides): 1 / GetPrecisionAdjustedBeatLength() = GetPrecisionAdjustedSliderVelocityMultiplier() / beatLength and therefore Velocity = BASE_SCORING_DISTANCE * SliderMultiplier * GetPrecisionAdjustedSliderVelocityMultiplier() / beatLength = BASE_SCORING_DISTANCE * SliderMultiplier / GetPrecisionAdjustedBeatLength() and to recover `scoringDistance` scoringDistance = Velocity * beatLength |
||
---|---|---|
.. | ||
Beatmaps | ||
Configuration | ||
Difficulty | ||
Edit | ||
Judgements | ||
Mods | ||
Objects | ||
Properties | ||
Replays | ||
Resources/Testing/Beatmaps | ||
Scoring | ||
Skinning | ||
Statistics | ||
UI | ||
Utils | ||
osu.Game.Rulesets.Osu.csproj | ||
OsuInputManager.cs | ||
OsuRuleset.cs | ||
OsuSkinComponentLookup.cs | ||
OsuSkinComponents.cs |