mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-27 07:27:12 +00:00
Merge remote-tracking branch 'public/bugfix/freeplay-lerp' into bugfix/public-fixes
This commit is contained in:
commit
c2650c0810
|
@ -733,8 +733,8 @@ class FreeplayState extends MusicBeatSubState
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
lerpScore = MathUtil.coolLerp(lerpScore, intendedScore, 0.2);
|
lerpScore = MathUtil.smoothLerp(lerpScore, intendedScore, elapsed, 0.5);
|
||||||
lerpCompletion = MathUtil.coolLerp(lerpCompletion, intendedCompletion, 0.9);
|
lerpCompletion = MathUtil.smoothLerp(lerpCompletion, intendedCompletion, elapsed, 0.5);
|
||||||
|
|
||||||
if (Math.isNaN(lerpScore))
|
if (Math.isNaN(lerpScore))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue