mirror of
https://github.com/ppy/osu.git
synced 2026-05-23 23:27:15 +08:00
Improve glow further
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user