Adjust sizing to better fit glows within the playfield.

This commit is contained in:
smoogipooo 2017-05-22 19:50:01 +09:00
parent f8c419f9ba
commit 6cef3021c7
3 changed files with 5 additions and 5 deletions

View File

@ -145,7 +145,7 @@ private void resetEdgeEffects()
{
Type = EdgeEffectType.Glow,
Colour = AccentColour,
Radius = KiaiMode ? 50 : 8
Radius = KiaiMode ? 40 : 8
};
}
}

View File

@ -13,12 +13,12 @@ public abstract class TaikoHitObject : HitObject
/// <summary>
/// Diameter of a circle relative to the size of the <see cref="TaikoPlayfield"/>.
/// </summary>
public const float PLAYFIELD_RELATIVE_DIAMETER = 0.5f;
public const float PLAYFIELD_RELATIVE_DIAMETER = 0.45f;
/// <summary>
/// Scale multiplier for a strong circle.
/// </summary>
public const float STRONG_CIRCLE_DIAMETER_SCALE = 1.5f;
public const float STRONG_CIRCLE_DIAMETER_SCALE = 1.4f;
/// <summary>
/// Default circle diameter.

View File

@ -24,7 +24,7 @@ public class TaikoPlayfield : Playfield<TaikoHitObject, TaikoJudgement>
/// <summary>
/// The default play field height.
/// </summary>
public const float DEFAULT_PLAYFIELD_HEIGHT = 168f;
public const float DEFAULT_PLAYFIELD_HEIGHT = 178f;
/// <summary>
/// The offset from <see cref="left_area_size"/> which the center of the hit target lies at.
@ -221,7 +221,7 @@ public override void OnJudgement(DrawableHitObject<TaikoHitObject, TaikoJudgemen
/// <summary>
/// This is a very special type of container. It serves a similar purpose to <see cref="FillMode.Fit"/>, however unlike <see cref="FillMode.Fit"/>,
/// this will only adjust the scale relative to the height of its parent and will maintain the original width relative to its parent.
///
///
/// <para>
/// By adjusting the scale relative to the height of its parent, the aspect ratio of this container's children is maintained, however this is undesirable
/// in the case where the hit object container should not have its width adjusted by scale. To counteract this, another container is nested inside this