Reposition notes based on the configured input offset (so you still hit them when centered)

This commit is contained in:
EliteMasterEric 2024-04-10 21:31:22 -04:00
parent f474bc32a5
commit 17a15a3947
1 changed files with 2 additions and 1 deletions

View File

@ -285,7 +285,8 @@ class Strumline extends FlxSpriteGroup
var vwoosh:Float = 1.0;
var scrollSpeed:Float = PlayState.instance?.currentChart?.scrollSpeed ?? 1.0;
return Constants.PIXELS_PER_MS * (conductorInUse.songPosition - strumTime) * scrollSpeed * vwoosh * (Preferences.downscroll ? 1 : -1);
return
Constants.PIXELS_PER_MS * (conductorInUse.songPosition - strumTime - Conductor.instance.inputOffset) * scrollSpeed * vwoosh * (Preferences.downscroll ? 1 : -1);
}
function updateNotes():Void