diff --git a/source/Character.hx b/source/Character.hx index 2f15c00..b1b51c2 100644 --- a/source/Character.hx +++ b/source/Character.hx @@ -215,7 +215,7 @@ class Character extends FlxSprite trace(tex.frames.length); - animation.addByPrefix('idle', 'BF idle dance', 24, false); + animation.addByPrefix('idle', 'BF idle dance', 16, false); animation.addByPrefix('singUP', 'BF NOTE UP0', 24, false); animation.addByPrefix('singLEFT', 'BF NOTE LEFT0', 24, false); animation.addByPrefix('singRIGHT', 'BF NOTE RIGHT0', 24, false); diff --git a/source/ChartingState.hx b/source/ChartingState.hx index ee4f5f4..421da72 100644 --- a/source/ChartingState.hx +++ b/source/ChartingState.hx @@ -2176,7 +2176,7 @@ class ChartingState extends MusicBeatState if (daSus > 0) { var sustainVis:FlxSprite = new FlxSprite(note.x + (GRID_SIZE / 2), - note.y + GRID_SIZE).makeGraphic(8, Math.floor((getYfromStrum(daStrumTime + daSus) - note.y) * zoomFactor)); + note.y + GRID_SIZE).makeGraphic(8, Math.floor((getYfromStrum(note.strumTime + note.sustainLength) * zoomFactor) - note.y)); note.noteCharterObject = sustainVis;