mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Add explicit delay + expire (this will be moved into the base DrawableHitObject later).
This commit is contained in:
@ -78,13 +78,15 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable
|
|||||||
|
|
||||||
protected override void UpdateState(ArmedState state)
|
protected override void UpdateState(ArmedState state)
|
||||||
{
|
{
|
||||||
|
Delay(HitObject.StartTime - Time.Current + Judgement.TimeOffset, true);
|
||||||
|
|
||||||
switch (State)
|
switch (State)
|
||||||
{
|
{
|
||||||
case ArmedState.Idle:
|
case ArmedState.Idle:
|
||||||
|
Delay(hit.HitWindowMiss);
|
||||||
break;
|
break;
|
||||||
case ArmedState.Miss:
|
case ArmedState.Miss:
|
||||||
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);
|
||||||
@ -93,9 +95,10 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable
|
|||||||
bodyContainer.MoveToY(0, 500, EasingTypes.In);
|
bodyContainer.MoveToY(0, 500, EasingTypes.In);
|
||||||
|
|
||||||
FadeOut(600);
|
FadeOut(600);
|
||||||
Expire();
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Expire();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user