mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Adjust easings
This commit is contained in:
@ -26,7 +26,7 @@ namespace osu.Game.Rulesets.Osu.Mods
|
|||||||
public override Type[] IncompatibleMods => new[] { typeof(OsuModHidden) };
|
public override Type[] IncompatibleMods => new[] { typeof(OsuModHidden) };
|
||||||
|
|
||||||
private const int rotate_offset = 360;
|
private const int rotate_offset = 360;
|
||||||
private const float rotate_starting_width = 2.5f;
|
private const float rotate_starting_width = 2.0f;
|
||||||
|
|
||||||
|
|
||||||
public void ApplyToDrawableHitObjects(IEnumerable<DrawableHitObject> drawables)
|
public void ApplyToDrawableHitObjects(IEnumerable<DrawableHitObject> drawables)
|
||||||
@ -63,9 +63,9 @@ namespace osu.Game.Rulesets.Osu.Mods
|
|||||||
|
|
||||||
circle
|
circle
|
||||||
.RotateTo(origRotate+rotate_offset)
|
.RotateTo(origRotate+rotate_offset)
|
||||||
.RotateTo(origRotate, moveDuration)
|
.RotateTo(origRotate, moveDuration, Easing.InOutSine)
|
||||||
.ScaleTo(origScale * new Vector2(rotate_starting_width, 0))
|
.ScaleTo(origScale * new Vector2(rotate_starting_width, 0))
|
||||||
.ScaleTo(origScale, moveDuration, Easing.InQuad)
|
.ScaleTo(origScale, moveDuration, Easing.InOutSine)
|
||||||
.FadeTo(1);
|
.FadeTo(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -88,7 +88,7 @@ namespace osu.Game.Rulesets.Osu.Mods
|
|||||||
|
|
||||||
slider
|
slider
|
||||||
.ScaleTo(0)
|
.ScaleTo(0)
|
||||||
.ScaleTo(origScale, moveDuration)
|
.ScaleTo(origScale, moveDuration, Easing.InOutSine)
|
||||||
.FadeTo(1);
|
.FadeTo(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user