mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:25:11 +08:00
StarAnimationEasing
This commit is contained in:
parent
fd1cbfd8fa
commit
4d0c8ed441
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user