mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 18:13:09 +08:00
Better slider defaults.
This commit is contained in:
parent
e88d02d3c4
commit
396c8121d3
@ -30,7 +30,7 @@ namespace osu.Game.Modes.Osu.Objects
|
|||||||
break;
|
break;
|
||||||
case HitObjectType.Slider:
|
case HitObjectType.Slider:
|
||||||
CurveTypes curveType = CurveTypes.Catmull;
|
CurveTypes curveType = CurveTypes.Catmull;
|
||||||
int repeatCount = 0;
|
int repeatCount;
|
||||||
double length = 0;
|
double length = 0;
|
||||||
List<Vector2> points = new List<Vector2>();
|
List<Vector2> points = new List<Vector2>();
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ namespace osu.Game.Modes.Osu.Objects
|
|||||||
Velocity = 100 / beatmap.BeatLengthAt(StartTime, true) * beatmap.BeatmapInfo.BaseDifficulty.SliderMultiplier;
|
Velocity = 100 / beatmap.BeatLengthAt(StartTime, true) * beatmap.BeatmapInfo.BaseDifficulty.SliderMultiplier;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int RepeatCount;
|
public int RepeatCount = 1;
|
||||||
|
|
||||||
internal readonly SliderCurve Curve = new SliderCurve();
|
internal readonly SliderCurve Curve = new SliderCurve();
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@ namespace osu.Game.Modes.Osu.Objects
|
|||||||
|
|
||||||
public List<Vector2> ControlPoints;
|
public List<Vector2> ControlPoints;
|
||||||
|
|
||||||
public CurveTypes CurveType;
|
public CurveTypes CurveType = CurveTypes.PerfectCurve;
|
||||||
|
|
||||||
public Vector2 Offset;
|
public Vector2 Offset;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user