mirror of
https://github.com/osukey/osukey.git
synced 2025-05-09 15:47:38 +09:00
Make counters closer to what they should be looking like.
This commit is contained in:
parent
bbc11c77ca
commit
08f8eb649c
@ -17,7 +17,7 @@ namespace osu.Game.Modes.Osu.UI
|
|||||||
protected virtual float PopOutSmallScale => 1.1f;
|
protected virtual float PopOutSmallScale => 1.1f;
|
||||||
protected virtual bool CanPopOutWhileRolling => false;
|
protected virtual bool CanPopOutWhileRolling => false;
|
||||||
|
|
||||||
public Vector2 PopOutScale = new Vector2(2.5f);
|
public Vector2 PopOutScale = new Vector2(1.6f);
|
||||||
|
|
||||||
protected override void LoadComplete()
|
protected override void LoadComplete()
|
||||||
{
|
{
|
||||||
|
@ -12,18 +12,20 @@ namespace osu.Game.Modes.Osu.UI
|
|||||||
{
|
{
|
||||||
public class OsuScoreOverlay : ScoreOverlay
|
public class OsuScoreOverlay : ScoreOverlay
|
||||||
{
|
{
|
||||||
protected override PercentageCounter CreateAccuracyCounter() => new PercentageCounter()
|
|
||||||
{
|
|
||||||
Anchor = Anchor.TopRight,
|
|
||||||
Origin = Anchor.TopRight,
|
|
||||||
Position = new Vector2(0, 45)
|
|
||||||
};
|
|
||||||
|
|
||||||
protected override ScoreCounter CreateScoreCounter() => new ScoreCounter()
|
protected override ScoreCounter CreateScoreCounter() => new ScoreCounter()
|
||||||
{
|
{
|
||||||
Anchor = Anchor.TopRight,
|
Anchor = Anchor.TopRight,
|
||||||
Origin = Anchor.TopRight,
|
Origin = Anchor.TopRight,
|
||||||
TextSize = 60
|
TextSize = 60,
|
||||||
|
Margin = new MarginPadding { Right = 5 },
|
||||||
|
};
|
||||||
|
|
||||||
|
protected override PercentageCounter CreateAccuracyCounter() => new PercentageCounter()
|
||||||
|
{
|
||||||
|
Anchor = Anchor.TopRight,
|
||||||
|
Origin = Anchor.TopRight,
|
||||||
|
Position = new Vector2(0, 55),
|
||||||
|
Margin = new MarginPadding { Right = 5 },
|
||||||
};
|
};
|
||||||
|
|
||||||
protected override ComboCounter CreateComboCounter() => new OsuComboCounter()
|
protected override ComboCounter CreateComboCounter() => new OsuComboCounter()
|
||||||
|
@ -20,7 +20,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
{
|
{
|
||||||
protected override Type TransformType => typeof(TransformAccuracy);
|
protected override Type TransformType => typeof(TransformAccuracy);
|
||||||
|
|
||||||
protected override double RollingDuration => 20;
|
protected override double RollingDuration => 150;
|
||||||
protected override bool IsRollingProportional => true;
|
protected override bool IsRollingProportional => true;
|
||||||
|
|
||||||
private float epsilon => 1e-10f;
|
private float epsilon => 1e-10f;
|
||||||
|
@ -42,7 +42,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Easing for the counter rollover animation.
|
/// Easing for the counter rollover animation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected virtual EasingTypes RollingEasing => EasingTypes.None;
|
protected virtual EasingTypes RollingEasing => EasingTypes.Out;
|
||||||
|
|
||||||
private T displayedCount;
|
private T displayedCount;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user