1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 21:47:25 +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:
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;
}
}

View File

@ -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();
}