1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-08 15:44:25 +08:00

tweak shade to be more subtle

This commit is contained in:
Shawdooow
2018-03-22 15:15:17 -04:00
Unverified
parent 0de7699034
commit 3b327e5aa3
@@ -1132,19 +1132,19 @@ namespace osu.Game.Rulesets.Vitaru.Objects.Characters
if (speed > 1)
{
VitaruInputManager.Shade.Colour = Color4.Cyan;
VitaruInputManager.Shade.Alpha = (speed - 1) * 0.1f;
VitaruInputManager.Shade.Alpha = (speed - 1) * 0.05f;
}
else if (speed == 1)
VitaruInputManager.Shade.Alpha = 0;
else if (speed < 1 && speed > 0)
{
VitaruInputManager.Shade.Colour = Color4.Orange;
VitaruInputManager.Shade.Alpha = (1 - speed) * 0.1f;
VitaruInputManager.Shade.Alpha = (1 - speed) * 0.05f;
}
else if (speed < 0)
{
VitaruInputManager.Shade.Colour = Color4.Purple;
VitaruInputManager.Shade.Alpha = -speed * 0.2f;
VitaruInputManager.Shade.Alpha = -speed * 0.1f;
}
}