extra support for extra

This commit is contained in:
Frakits
2024-02-16 11:04:38 +02:00
parent ed3cf47655
commit fb2f49261b
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -51,6 +51,7 @@ typedef ChartNote = {
var id:Int; // strum id of the note var id:Int; // strum id of the note
var type:Int; // type (int) of the note var type:Int; // type (int) of the note
var sLen:Float; // sustain length of the note (ms) var sLen:Float; // sustain length of the note (ms)
var ?extra:Map<String, Dynamic>;
} }
typedef ChartEvent = { typedef ChartEvent = {
+1
View File
@@ -117,6 +117,7 @@ class Note extends FlxSprite
this.isSustainNote = sustain; this.isSustainNote = sustain;
this.sustainLength = sustainLength; this.sustainLength = sustainLength;
this.strumLine = strumLine; this.strumLine = strumLine;
this.extra = noteData.extra;
x += 50; x += 50;
// MAKE SURE ITS DEFINITELY OFF SCREEN? // MAKE SURE ITS DEFINITELY OFF SCREEN?