1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:07:52 +08:00

Adjust flash intensity and fade values to feel better

This commit is contained in:
Joppe27 2022-10-19 00:51:44 +02:00
parent 003e4247f9
commit 9b123e7365
2 changed files with 3 additions and 3 deletions

View File

@ -163,7 +163,7 @@ namespace osu.Game.Rulesets.Taiko.Skinning.Default
FlashBox
// Make sure the hit indicator usage of FlashBox doesn't get faded out prematurely by a kiai flash
.DelayUntilTransformsFinished()
.FadeTo(flash_opacity, 0, Easing.OutQuint)
.FadeTo(flash_opacity)
.Then()
.FadeOut(Math.Max(80, timingPoint.BeatLength - 80), Easing.OutSine);

View File

@ -13,7 +13,7 @@ namespace osu.Game.Skinning
{
private readonly Drawable flashingDrawable;
private const float flash_opacity = 0.3f;
private const float flash_opacity = 0.55f;
public LegacyKiaiFlashingDrawable(Func<Drawable?> creationFunc)
{
@ -44,7 +44,7 @@ namespace osu.Game.Skinning
flashingDrawable
.FadeTo(flash_opacity)
.Then()
.FadeOut(timingPoint.BeatLength * 0.75f);
.FadeOut(Math.Max(80, timingPoint.BeatLength - 80), Easing.OutSine);
}
}
}