a lot of little fixes and alt animation per notes
This commit is contained in:
@@ -35,6 +35,8 @@ class Note extends FlxSprite
|
||||
public var originColor:Int = 0; // The sustain note's original note's color
|
||||
public var noteSection:Int = 0;
|
||||
|
||||
public var isAlt:Bool = false;
|
||||
|
||||
public var noteCharterObject:FlxSprite;
|
||||
|
||||
public var noteScore:Float = 1;
|
||||
@@ -63,13 +65,15 @@ class Note extends FlxSprite
|
||||
|
||||
public var children:Array<Note> = [];
|
||||
|
||||
public function new(strumTime:Float, noteData:Int, ?prevNote:Note, ?sustainNote:Bool = false, ?inCharter:Bool = false)
|
||||
public function new(strumTime:Float, noteData:Int, ?prevNote:Note, ?sustainNote:Bool = false, ?inCharter:Bool = false, ?isAlt:Bool = false)
|
||||
{
|
||||
super();
|
||||
|
||||
if (prevNote == null)
|
||||
prevNote = this;
|
||||
|
||||
this.isAlt = isAlt;
|
||||
|
||||
this.prevNote = prevNote;
|
||||
isSustainNote = sustainNote;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user