1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 01:02:55 +08:00

Add more flashiness during kiai time

This commit is contained in:
Dean Herbert 2017-05-23 16:27:01 +09:00
parent 73320f9a7e
commit 2decb2b2ff

View File

@ -228,6 +228,15 @@ namespace osu.Game.Screens.Menu
ripple.ScaleTo(ripple.Scale * 1.04f, beatLength, EasingTypes.OutQuint);
ripple.FadeOut(beatLength);
if (kiai && flashLayer.Alpha < 0.4f)
{
flashLayer.ClearTransforms();
flashLayer.FadeTo(0.14f, beat_in_time, EasingTypes.Out);
using (flashLayer.BeginDelayedSequence(beat_in_time))
flashLayer.FadeOut(beatLength);
}
}
protected override bool OnMouseDown(InputState state, MouseDownEventArgs args)