mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 01:47:33 +08:00
Adjust spinner colours making use of EdgeEffect.Hollow
This commit is contained in:
parent
18a7271dc6
commit
95498fe6df
@ -158,7 +158,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
|||||||
|
|
||||||
background.AccentColour = normalColour;
|
background.AccentColour = normalColour;
|
||||||
|
|
||||||
completeColour = colours.YellowLight.Opacity(0.6f);
|
completeColour = colours.YellowLight.Opacity(0.75f);
|
||||||
|
|
||||||
disc.AccentColour = colours.SpinnerFill;
|
disc.AccentColour = colours.SpinnerFill;
|
||||||
circle.Colour = colours.BlueDark;
|
circle.Colour = colours.BlueDark;
|
||||||
|
@ -28,9 +28,10 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Pieces
|
|||||||
|
|
||||||
EdgeEffect = new EdgeEffect
|
EdgeEffect = new EdgeEffect
|
||||||
{
|
{
|
||||||
|
Hollow = true,
|
||||||
Type = EdgeEffectType.Glow,
|
Type = EdgeEffectType.Glow,
|
||||||
Radius = 14,
|
Radius = 40,
|
||||||
Colour = value.Opacity(0.3f),
|
Colour = value,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -127,7 +127,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Pieces
|
|||||||
if (Complete && updateCompleteTick())
|
if (Complete && updateCompleteTick())
|
||||||
{
|
{
|
||||||
background.Flush(flushType: typeof(TransformAlpha));
|
background.Flush(flushType: typeof(TransformAlpha));
|
||||||
background.FadeTo(tracking_alpha + 0.4f, 60, EasingTypes.OutExpo);
|
background.FadeTo(tracking_alpha + 0.2f, 60, EasingTypes.OutExpo);
|
||||||
background.Delay(60);
|
background.Delay(60);
|
||||||
background.FadeTo(tracking_alpha, 250, EasingTypes.OutQuint);
|
background.FadeTo(tracking_alpha, 250, EasingTypes.OutQuint);
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Pieces
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(OsuColour colours)
|
private void load(OsuColour colours)
|
||||||
{
|
{
|
||||||
glowColour = colours.BlueDarker.Opacity(0.4f);
|
glowColour = Color4.Gray.Opacity(0.2f);
|
||||||
layout();
|
layout();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -44,7 +44,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Pieces
|
|||||||
EdgeEffect = new EdgeEffect
|
EdgeEffect = new EdgeEffect
|
||||||
{
|
{
|
||||||
Type = EdgeEffectType.Glow,
|
Type = EdgeEffectType.Glow,
|
||||||
Radius = 20,
|
Radius = 10,
|
||||||
Colour = glowColour,
|
Colour = glowColour,
|
||||||
},
|
},
|
||||||
RelativePositionAxes = Axes.Both,
|
RelativePositionAxes = Axes.Both,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user