mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Adjust appear animations of repeats and ticks
This commit is contained in:
@ -54,9 +54,10 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
|||||||
{
|
{
|
||||||
animDuration = Math.Min(150, repeatPoint.SpanDuration / 2);
|
animDuration = Math.Min(150, repeatPoint.SpanDuration / 2);
|
||||||
|
|
||||||
this.FadeIn(animDuration).ScaleTo(1.2f, animDuration / 2)
|
this.Animate(
|
||||||
.Then()
|
d => d.FadeIn(animDuration),
|
||||||
.ScaleTo(1, animDuration / 2, Easing.Out);
|
d => d.ScaleTo(0.5f).ScaleTo(1f, animDuration * 4, Easing.OutElasticHalf)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void UpdateCurrentState(ArmedState state)
|
protected override void UpdateCurrentState(ArmedState state)
|
||||||
|
@ -52,9 +52,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
|||||||
{
|
{
|
||||||
this.Animate(
|
this.Animate(
|
||||||
d => d.FadeIn(anim_duration),
|
d => d.FadeIn(anim_duration),
|
||||||
d => d.ScaleTo(0.5f).ScaleTo(1.2f, anim_duration / 2)
|
d => d.ScaleTo(0.5f).ScaleTo(1f, anim_duration * 4, Easing.OutElasticHalf)
|
||||||
).Then(
|
|
||||||
d => d.ScaleTo(1, anim_duration / 2, Easing.Out)
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user