mirror of https://github.com/ppy/osu
Adjust sizing to better fit glows within the playfield.
This commit is contained in:
parent
f8c419f9ba
commit
6cef3021c7
|
@ -145,7 +145,7 @@ private void resetEdgeEffects()
|
||||||
{
|
{
|
||||||
Type = EdgeEffectType.Glow,
|
Type = EdgeEffectType.Glow,
|
||||||
Colour = AccentColour,
|
Colour = AccentColour,
|
||||||
Radius = KiaiMode ? 50 : 8
|
Radius = KiaiMode ? 40 : 8
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,12 +13,12 @@ public abstract class TaikoHitObject : HitObject
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Diameter of a circle relative to the size of the <see cref="TaikoPlayfield"/>.
|
/// Diameter of a circle relative to the size of the <see cref="TaikoPlayfield"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const float PLAYFIELD_RELATIVE_DIAMETER = 0.5f;
|
public const float PLAYFIELD_RELATIVE_DIAMETER = 0.45f;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Scale multiplier for a strong circle.
|
/// Scale multiplier for a strong circle.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const float STRONG_CIRCLE_DIAMETER_SCALE = 1.5f;
|
public const float STRONG_CIRCLE_DIAMETER_SCALE = 1.4f;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Default circle diameter.
|
/// Default circle diameter.
|
||||||
|
|
|
@ -24,7 +24,7 @@ public class TaikoPlayfield : Playfield<TaikoHitObject, TaikoJudgement>
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The default play field height.
|
/// The default play field height.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const float DEFAULT_PLAYFIELD_HEIGHT = 168f;
|
public const float DEFAULT_PLAYFIELD_HEIGHT = 178f;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The offset from <see cref="left_area_size"/> which the center of the hit target lies at.
|
/// 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>
|
/// <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 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.
|
/// this will only adjust the scale relative to the height of its parent and will maintain the original width relative to its parent.
|
||||||
///
|
///
|
||||||
/// <para>
|
/// <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
|
/// 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
|
/// 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
|
||||||
|
|
Loading…
Reference in New Issue