mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 00:02:54 +08:00
Better life time ends.
This commit is contained in:
parent
bbc6a4234a
commit
e518508f2d
@ -83,16 +83,17 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable
|
||||
case ArmedState.Idle:
|
||||
break;
|
||||
case ArmedState.Miss:
|
||||
bodyContainer.FadeOut(100);
|
||||
FadeOut(100);
|
||||
Expire();
|
||||
break;
|
||||
case ArmedState.Hit:
|
||||
bodyContainer.ScaleTo(0.8f, 400, EasingTypes.OutQuad);
|
||||
bodyContainer.FadeOut(600, EasingTypes.OutQuint);
|
||||
bodyContainer.MoveToY(-200, 250, EasingTypes.Out);
|
||||
|
||||
bodyContainer.Delay(250);
|
||||
|
||||
bodyContainer.MoveToY(0, 500, EasingTypes.In);
|
||||
|
||||
FadeOut(600);
|
||||
Expire();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -30,7 +30,6 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
LifetimeStart = HitObject.StartTime - HitObject.PreEmpt * 2;
|
||||
LifetimeEnd = HitObject.StartTime + HitObject.PreEmpt;
|
||||
|
||||
base.LoadComplete();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user