mirror of
https://github.com/osukey/osukey.git
synced 2025-07-22 19:00:05 +09:00
Expand the functionality of Approach different
This commit is contained in:
@ -26,7 +26,7 @@ namespace osu.Game.Rulesets.Osu.Mods
|
|||||||
public BindableFloat Scale { get; } = new BindableFloat(4)
|
public BindableFloat Scale { get; } = new BindableFloat(4)
|
||||||
{
|
{
|
||||||
Precision = 0.1f,
|
Precision = 0.1f,
|
||||||
MinValue = 2,
|
MinValue = 1.5f,
|
||||||
MaxValue = 10,
|
MaxValue = 10,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -58,6 +58,9 @@ namespace osu.Game.Rulesets.Osu.Mods
|
|||||||
case AnimationStyle.Accelerate1:
|
case AnimationStyle.Accelerate1:
|
||||||
return Easing.In;
|
return Easing.In;
|
||||||
|
|
||||||
|
case AnimationStyle.Linear:
|
||||||
|
return Easing.None;
|
||||||
|
|
||||||
case AnimationStyle.Accelerate2:
|
case AnimationStyle.Accelerate2:
|
||||||
return Easing.InCubic;
|
return Easing.InCubic;
|
||||||
|
|
||||||
@ -86,6 +89,7 @@ namespace osu.Game.Rulesets.Osu.Mods
|
|||||||
|
|
||||||
public enum AnimationStyle
|
public enum AnimationStyle
|
||||||
{
|
{
|
||||||
|
Linear,
|
||||||
Gravity,
|
Gravity,
|
||||||
InOut1,
|
InOut1,
|
||||||
InOut2,
|
InOut2,
|
||||||
|
Reference in New Issue
Block a user