mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:18:22 +08:00
Improve glow further
This commit is contained in:
parent
88d608e1fa
commit
c4f47974bc
@ -184,7 +184,7 @@ namespace osu.Game.Screens.Play.HUD
|
||||
if (Current.Value > 0)
|
||||
{
|
||||
missBar.TransformTo(nameof(BarPath.BarColour), Colour4.Gray, 300, Easing.OutQuint);
|
||||
missBar.TransformTo(nameof(BarPath.GlowColour), Colour4.Gray, 300, Easing.OutQuint);
|
||||
missBar.TransformTo(nameof(BarPath.GlowColour), health_bar_glow_colour, 300, Easing.OutQuint);
|
||||
}
|
||||
|
||||
resetMissBarDelegate?.Cancel();
|
||||
@ -300,7 +300,7 @@ namespace osu.Game.Screens.Play.HUD
|
||||
if (position >= GlowPortion)
|
||||
return BarColour;
|
||||
|
||||
return Interpolation.ValueAt(position, Colour4.Black.Opacity(0.0f), GlowColour, 0.0, GlowPortion, Easing.InQuart);
|
||||
return Interpolation.ValueAt(position, Colour4.Black.Opacity(0.0f), GlowColour, 0.0, GlowPortion, Easing.InQuint);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user