mirror of
https://github.com/ppy/osu.git
synced 2025-03-29 19:58:40 +08:00
Merge pull request #560 from smoogipooo/general_taiko_fixes
General taiko fixes
This commit is contained in:
commit
4bdf9e09ca
osu.Game.Modes.Taiko
@ -20,6 +20,10 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable.Pieces
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public class CirclePiece : Container
|
public class CirclePiece : Container
|
||||||
{
|
{
|
||||||
|
public const float SYMBOL_SIZE = TaikoHitObject.CIRCLE_RADIUS * 2f * 0.45f;
|
||||||
|
public const float SYMBOL_BORDER = 8;
|
||||||
|
public const float SYMBOL_INNER_SIZE = SYMBOL_SIZE - 2 * SYMBOL_BORDER;
|
||||||
|
|
||||||
private Color4 accentColour;
|
private Color4 accentColour;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The colour of the inner circle and outer glows.
|
/// The colour of the inner circle and outer glows.
|
||||||
|
@ -26,6 +26,7 @@ namespace osu.Game.Modes.Taiko.UI
|
|||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The play field height scale.
|
/// The play field height scale.
|
||||||
|
/// This also uniformly scales the notes to match the new playfield height.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const float PLAYFIELD_SCALE = 0.65f;
|
public const float PLAYFIELD_SCALE = 0.65f;
|
||||||
|
|
||||||
@ -173,6 +174,7 @@ namespace osu.Game.Modes.Taiko.UI
|
|||||||
public override void Add(DrawableHitObject<TaikoHitObject, TaikoJudgement> h)
|
public override void Add(DrawableHitObject<TaikoHitObject, TaikoJudgement> h)
|
||||||
{
|
{
|
||||||
h.Depth = (float)h.HitObject.StartTime;
|
h.Depth = (float)h.HitObject.StartTime;
|
||||||
|
h.Scale = new Vector2(PLAYFIELD_SCALE);
|
||||||
|
|
||||||
base.Add(h);
|
base.Add(h);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user