mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:27:29 +08:00
Update argon and triangles to match display style
This commit is contained in:
parent
02c771f540
commit
8e6ea2dd9b
@ -62,7 +62,16 @@ namespace osu.Game.Rulesets.Osu.Skinning.Argon
|
||||
/// </remarks>
|
||||
public virtual void PlayAnimation()
|
||||
{
|
||||
if (Result.IsMiss())
|
||||
if (Result == HitResult.IgnoreMiss || Result == HitResult.LargeTickMiss)
|
||||
{
|
||||
this.RotateTo(-45);
|
||||
this.ScaleTo(1.8f);
|
||||
this.ScaleTo(1.2f, 100, Easing.In);
|
||||
|
||||
this.MoveTo(Vector2.Zero);
|
||||
this.MoveToOffset(new Vector2(0, 10), 800, Easing.InQuint);
|
||||
}
|
||||
else if (Result.IsMiss())
|
||||
{
|
||||
this.ScaleTo(1.6f);
|
||||
this.ScaleTo(1, 100, Easing.In);
|
||||
|
@ -38,7 +38,20 @@ namespace osu.Game.Rulesets.Judgements
|
||||
/// </remarks>
|
||||
public virtual void PlayAnimation()
|
||||
{
|
||||
if (Result != HitResult.None && !Result.IsHit())
|
||||
// TODO: make these better. currently they are using a text `-` and it's not centered properly.
|
||||
// Should be an explicit drawable.
|
||||
//
|
||||
// When this is done, remove the [Description] attributes from HitResults which were added for this purpose.
|
||||
if (Result == HitResult.IgnoreMiss || Result == HitResult.LargeTickMiss)
|
||||
{
|
||||
this.RotateTo(-45);
|
||||
this.ScaleTo(1.8f);
|
||||
this.ScaleTo(1.2f, 100, Easing.In);
|
||||
|
||||
this.MoveTo(Vector2.Zero);
|
||||
this.MoveToOffset(new Vector2(0, 10), 800, Easing.InQuint);
|
||||
}
|
||||
else if (Result.IsMiss())
|
||||
{
|
||||
this.ScaleTo(1.6f);
|
||||
this.ScaleTo(1, 100, Easing.In);
|
||||
|
@ -86,7 +86,7 @@ namespace osu.Game.Rulesets.Scoring
|
||||
/// Indicates a large tick miss.
|
||||
/// </summary>
|
||||
[EnumMember(Value = "large_tick_miss")]
|
||||
[Description(@"x")]
|
||||
[Description("-")]
|
||||
[Order(10)]
|
||||
LargeTickMiss,
|
||||
|
||||
@ -118,7 +118,7 @@ namespace osu.Game.Rulesets.Scoring
|
||||
/// Indicates a miss that should be ignored for scoring purposes.
|
||||
/// </summary>
|
||||
[EnumMember(Value = "ignore_miss")]
|
||||
[Description("x")]
|
||||
[Description("-")]
|
||||
[Order(13)]
|
||||
IgnoreMiss,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user