Skip to content

Commit

Permalink
Remove circle scaling (apparently the fixed scale is required for spa…
Browse files Browse the repository at this point in the history
…cing)
  • Loading branch information
peppy committed May 13, 2022
1 parent 0318944 commit 1529162
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,8 @@ public override void UpdateFrom(HitCircle hitObject)
if (hasReachedObject)
{
float alpha = Interpolation.ValueAt(editorTime, 0, 1f, hitObjectTime, hitObjectTime + FADE_OUT_EXTENSION, Easing.In);
float circleScale = Interpolation.ValueAt(editorTime, 0, 1f, hitObjectTime, hitObjectTime + FADE_OUT_EXTENSION);
float ringScale = MathHelper.Clamp(Interpolation.ValueAt(editorTime, 0, 1f, hitObjectTime, hitObjectTime + FADE_OUT_EXTENSION / 2, Easing.OutQuint), 0, 1);

circle.Scale = new Vector2(1 - 0.05f * circleScale);
ring.Scale = new Vector2(1 + 0.1f * ringScale);
Alpha = 0.9f * (1 - alpha);
}
Expand Down

0 comments on commit 1529162

Please sign in to comment.