From 77f45962d8a90ef5ac49f0c7dc73bd38ad84680b Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Mon, 6 Dec 2021 15:28:14 -0500 Subject: [PATCH] lil lerp tweak --- source/FreeplayState.hx | 2 +- source/freeplayStuff/FreeplayScore.hx | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/source/FreeplayState.hx b/source/FreeplayState.hx index 0d6b717a1..45aeef2e7 100644 --- a/source/FreeplayState.hx +++ b/source/FreeplayState.hx @@ -386,7 +386,7 @@ class FreeplayState extends MusicBeatSubstate } } - lerpScore = CoolUtil.coolLerp(lerpScore, intendedScore, 0.4); + lerpScore = CoolUtil.coolLerp(lerpScore, intendedScore, 0.2); fp.scoreShit = Std.int(lerpScore); diff --git a/source/freeplayStuff/FreeplayScore.hx b/source/freeplayStuff/FreeplayScore.hx index 01dd3d72d..8ae314c7c 100644 --- a/source/freeplayStuff/FreeplayScore.hx +++ b/source/freeplayStuff/FreeplayScore.hx @@ -71,8 +71,6 @@ class ScoreNum extends FlxSprite { animation.play(Std.string(val), true, false, 0); updateHitbox(); - - y = (baseY - (height / 2)) + 45; } return val;