diff --git a/buildnumber.txt b/buildnumber.txt index 8f5b98b4..de8746ce 100644 --- a/buildnumber.txt +++ b/buildnumber.txt @@ -1 +1 @@ -1377 \ No newline at end of file +1380 \ No newline at end of file diff --git a/source/funkin/game/Note.hx b/source/funkin/game/Note.hx index 4a139fb7..1245029b 100644 --- a/source/funkin/game/Note.hx +++ b/source/funkin/game/Note.hx @@ -149,6 +149,9 @@ class Note extends FlxSprite } else { animation.play("scroll"); } + + if (PlayState.instance != null) + PlayState.instance.scripts.event("onPostNoteCreation", event); } public var lastScrollSpeed:Null = null; @@ -159,6 +162,8 @@ class Note extends FlxSprite @:privateAccess if (__strumCameras != null) FlxCamera._defaultCameras = __strumCameras; var negativeScroll = isSustainNote && nextSustain != null && lastScrollSpeed < 0; + if (antialiasing && nextSustain == null) + rotOffset.y += 2; if (negativeScroll) offset.y *= -1; if (angleOffsets && Std.int(angle % 360) != 0) { @@ -203,6 +208,8 @@ class Note extends FlxSprite } super.draw(); if (negativeScroll) offset.y *= -1; + if (antialiasing && nextSustain == null) + rotOffset.y -= 2; @:privateAccess FlxCamera._defaultCameras = oldDefaultCameras; }