sustain stuff
This commit is contained in:
@@ -55,6 +55,7 @@ class Note extends FlxSprite
|
||||
public var sustainLength:Float = 0;
|
||||
public var stepLength:Float = 0;
|
||||
public var isSustainNote:Bool = false;
|
||||
public var flipSustain:Bool = true;
|
||||
|
||||
public var noteTypeID:Int = 0;
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ class Strum extends FlxSprite {
|
||||
|
||||
public function updateSustain(daNote:Note) {
|
||||
if (!daNote.isSustainNote) return;
|
||||
daNote.flipY = PlayState.instance.downscroll != (getScrollSpeed(daNote) < 0);
|
||||
daNote.flipY = daNote.flipSustain && (PlayState.instance.downscroll != (getScrollSpeed(daNote) < 0));
|
||||
daNote.updateSustain(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user