This commit is contained in:
Yoshman29
2022-11-04 15:12:58 +01:00
parent 930d6833ef
commit ccf0c833b2
8 changed files with 103 additions and 52 deletions
+7 -1
View File
@@ -1,5 +1,6 @@
package funkin.game;
import flixel.FlxG;
import flixel.FlxCamera;
import flixel.FlxSprite;
import flixel.graphics.frames.FlxAtlasFrames;
@@ -209,8 +210,13 @@ class Note extends FlxSprite
// is long sustain
lastScrollSpeed = scrollSpeed;
scale.y = stepLength / 100 * 1.5 * scrollSpeed * 0.7;
// scale.y = stepLength / 100 * 1.5 * scrollSpeed * 0.7;
scale.y = (stepLength * (0.45 * FlxMath.roundDecimal(scrollSpeed, 2))) / frameHeight;
updateHitbox();
if (antialiasing && !FlxG.forceNoAntialiasing) {
// dumbass antialiasing
scale.y += 3 / frameHeight;
}
}
if (!wasGoodHit) return;