1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 03:02:53 +08:00

Better life time ends.

This commit is contained in:
smoogipooo 2017-03-29 09:11:07 +09:00
parent bbc6a4234a
commit e518508f2d
2 changed files with 5 additions and 5 deletions

View File

@ -83,16 +83,17 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable
case ArmedState.Idle: case ArmedState.Idle:
break; break;
case ArmedState.Miss: case ArmedState.Miss:
bodyContainer.FadeOut(100); FadeOut(100);
Expire();
break; break;
case ArmedState.Hit: case ArmedState.Hit:
bodyContainer.ScaleTo(0.8f, 400, EasingTypes.OutQuad); bodyContainer.ScaleTo(0.8f, 400, EasingTypes.OutQuad);
bodyContainer.FadeOut(600, EasingTypes.OutQuint);
bodyContainer.MoveToY(-200, 250, EasingTypes.Out); bodyContainer.MoveToY(-200, 250, EasingTypes.Out);
bodyContainer.Delay(250); bodyContainer.Delay(250);
bodyContainer.MoveToY(0, 500, EasingTypes.In); bodyContainer.MoveToY(0, 500, EasingTypes.In);
FadeOut(600);
Expire();
break; break;
} }
} }

View File

@ -30,7 +30,6 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable
protected override void LoadComplete() protected override void LoadComplete()
{ {
LifetimeStart = HitObject.StartTime - HitObject.PreEmpt * 2; LifetimeStart = HitObject.StartTime - HitObject.PreEmpt * 2;
LifetimeEnd = HitObject.StartTime + HitObject.PreEmpt;
base.LoadComplete(); base.LoadComplete();
} }