mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 09:05:59 +08:00
Merge pull request #560 from smoogipooo/general_taiko_fixes
General taiko fixes
This commit is contained in:
commit
4bdf9e09ca
@ -20,6 +20,10 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable.Pieces
|
||||
/// </summary>
|
||||
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;
|
||||
/// <summary>
|
||||
/// The colour of the inner circle and outer glows.
|
||||
|
@ -26,6 +26,7 @@ namespace osu.Game.Modes.Taiko.UI
|
||||
|
||||
/// <summary>
|
||||
/// The play field height scale.
|
||||
/// This also uniformly scales the notes to match the new playfield height.
|
||||
/// </summary>
|
||||
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)
|
||||
{
|
||||
h.Depth = (float)h.HitObject.StartTime;
|
||||
h.Scale = new Vector2(PLAYFIELD_SCALE);
|
||||
|
||||
base.Add(h);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user