1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 13:37:25 +08:00

Use ligher hue instead of white.

This commit is contained in:
smoogipooo 2017-05-24 15:22:46 +09:00
parent 4224143136
commit 445b469e47
6 changed files with 10 additions and 1 deletions

View File

@ -22,6 +22,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
private void load(OsuColour colours)
{
MainPiece.AccentColour = colours.PinkDarker;
MainPiece.KiaiFlashColour = colours.PinkLight;
}
}
}

View File

@ -22,6 +22,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
private void load(OsuColour colours)
{
MainPiece.AccentColour = colours.PinkDarker;
MainPiece.KiaiFlashColour = colours.PinkLight;
}
}
}

View File

@ -22,6 +22,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
private void load(OsuColour colours)
{
MainPiece.AccentColour = colours.BlueDarker;
MainPiece.KiaiFlashColour = colours.BlueLight;
}
}
}

View File

@ -22,6 +22,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
private void load(OsuColour colours)
{
MainPiece.AccentColour = colours.BlueDarker;
MainPiece.KiaiFlashColour = colours.BlueLight;
}
}
}

View File

@ -159,7 +159,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables.Pieces
if (beatIndex % (int)timingPoint.TimeSignature != 0)
return;
background.FadeEdgeEffectTo(Color4.White);
background.FadeEdgeEffectTo(KiaiFlashColour);
using (BeginDelayedSequence(200))
background.FadeEdgeEffectTo(AccentColour, 500, EasingTypes.OutQuint);
}

View File

@ -20,6 +20,11 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables.Pieces
set { accentColour = value; }
}
/// <summary>
/// The colour to be flashed on a kiai beat.
/// </summary>
public Color4 KiaiFlashColour;
private bool kiaiMode;
/// <summary>
/// Whether Kiai mode effects are enabled for this circle piece.