From 62784e6b31070f895157e388151f4c8e4c81580f Mon Sep 17 00:00:00 2001 From: KadeDeveloper Date: Mon, 19 Jul 2021 22:14:09 -0700 Subject: [PATCH] fixed changes wit things --- source/Character.hx | 2 +- source/ChartingState.hx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;