diff --git a/buildnumber.txt b/buildnumber.txt index 1c8a8a85..7e4cc171 100644 --- a/buildnumber.txt +++ b/buildnumber.txt @@ -1 +1 @@ -932 \ No newline at end of file +934 \ No newline at end of file diff --git a/source/funkin/game/Note.hx b/source/funkin/game/Note.hx index 3e52d87f..637717f4 100644 --- a/source/funkin/game/Note.hx +++ b/source/funkin/game/Note.hx @@ -137,6 +137,9 @@ class Note extends FlxSprite public var angleOffsets:Bool = true; override function draw() { + var negativeScroll = isSustainNote && nextSustain != null && lastScrollSpeed < 0; + if (negativeScroll) offset.y *= -1; + if (angleOffsets && Std.int(angle % 360) != 0) { // get default values var oldOffset = FlxPoint.get(offset.x, offset.y); @@ -178,6 +181,7 @@ class Note extends FlxSprite return; } super.draw(); + if (negativeScroll) offset.y *= -1; } // The * 0.5 is so that it's easier to hit them too late, instead of too early @@ -194,7 +198,7 @@ class Note extends FlxSprite if (nextSustain != null && lastScrollSpeed != scrollSpeed) { // is long sustain lastScrollSpeed = scrollSpeed; - + scale.y = Conductor.stepCrochet / 100 * 1.5 * scrollSpeed * 0.7; updateHitbox(); }