mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 00:02:54 +08:00
Add explicit delay + expire (this will be moved into the base DrawableHitObject later).
This commit is contained in:
parent
1a56c48ddb
commit
1c503edad1
@ -78,13 +78,15 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable
|
||||
|
||||
protected override void UpdateState(ArmedState state)
|
||||
{
|
||||
Delay(HitObject.StartTime - Time.Current + Judgement.TimeOffset, true);
|
||||
|
||||
switch (State)
|
||||
{
|
||||
case ArmedState.Idle:
|
||||
Delay(hit.HitWindowMiss);
|
||||
break;
|
||||
case ArmedState.Miss:
|
||||
FadeOut(100);
|
||||
Expire();
|
||||
break;
|
||||
case ArmedState.Hit:
|
||||
bodyContainer.ScaleTo(0.8f, 400, EasingTypes.OutQuad);
|
||||
@ -93,9 +95,10 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable
|
||||
bodyContainer.MoveToY(0, 500, EasingTypes.In);
|
||||
|
||||
FadeOut(600);
|
||||
Expire();
|
||||
break;
|
||||
}
|
||||
|
||||
Expire();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user