Make counters closer to what they should be looking like.

This commit is contained in:
Dean Herbert 2016-12-07 21:05:29 +09:00
parent bbc11c77ca
commit 08f8eb649c
4 changed files with 13 additions and 11 deletions

View File

@ -17,7 +17,7 @@ namespace osu.Game.Modes.Osu.UI
protected virtual float PopOutSmallScale => 1.1f;
protected virtual bool CanPopOutWhileRolling => false;
public Vector2 PopOutScale = new Vector2(2.5f);
public Vector2 PopOutScale = new Vector2(1.6f);
protected override void LoadComplete()
{

View File

@ -12,18 +12,20 @@ namespace osu.Game.Modes.Osu.UI
{
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()
{
Anchor = 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()

View File

@ -20,7 +20,7 @@ namespace osu.Game.Graphics.UserInterface
{
protected override Type TransformType => typeof(TransformAccuracy);
protected override double RollingDuration => 20;
protected override double RollingDuration => 150;
protected override bool IsRollingProportional => true;
private float epsilon => 1e-10f;

View File

@ -42,7 +42,7 @@ namespace osu.Game.Graphics.UserInterface
/// <summary>
/// Easing for the counter rollover animation.
/// </summary>
protected virtual EasingTypes RollingEasing => EasingTypes.None;
protected virtual EasingTypes RollingEasing => EasingTypes.Out;
private T displayedCount;