1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 03:25:11 +08:00

StarAnimationEasing

This commit is contained in:
Adonais Romero González 2016-10-09 14:55:50 -05:00
parent fd1cbfd8fa
commit 4d0c8ed441

View File

@ -27,6 +27,7 @@ namespace osu.Game.Graphics.UserInterface
protected List<TextAwesome> stars = new List<TextAwesome>();
public ulong StarAnimationDuration = 500;
public EasingTypes StarAnimationEasing = EasingTypes.OutElasticHalf;
public ulong FadeDuration = 100;
public float MinStarSize = 0.3f;
public float MinStarAlpha = 0.5f;
@ -116,7 +117,7 @@ namespace osu.Game.Graphics.UserInterface
i + 1
)
);
transform.Easing = EasingTypes.OutElasticHalf;
transform.Easing = StarAnimationEasing;
stars[i].Transforms.Add(transform);
}