1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 15:03:13 +08:00

Expand the functionality of Approach different

This commit is contained in:
MK56 2021-11-25 10:24:00 +01:00
parent a0cc7bbdc8
commit 5e0763ae33

View File

@ -26,7 +26,7 @@ namespace osu.Game.Rulesets.Osu.Mods
public BindableFloat Scale { get; } = new BindableFloat(4)
{
Precision = 0.1f,
MinValue = 2,
MinValue = 1.5f,
MaxValue = 10,
};
@ -58,6 +58,9 @@ namespace osu.Game.Rulesets.Osu.Mods
case AnimationStyle.Accelerate1:
return Easing.In;
case AnimationStyle.Linear:
return Easing.None;
case AnimationStyle.Accelerate2:
return Easing.InCubic;
@ -86,6 +89,7 @@ namespace osu.Game.Rulesets.Osu.Mods
public enum AnimationStyle
{
Linear,
Gravity,
InOut1,
InOut2,