This repository was archived by the owner on Mar 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Note
megamaz edited this page Mar 16, 2021
·
5 revisions
This is the Note class. It is a simple data container for note objects.
The note does not need to exist inside the
level.datfor the instance to exist.
import noodleExtensions as NE
note = NE.Note(
_time=1, # the beat of the note
_lineIndex=1, # The left/right position of the note
_lineLayer=0, # the up/down position of the note
_type=0, # the note type
_cutDirection=0, # The cut direction of the note
# you can insert custom data as [property]=[data]
_track="NoteTrack",
_fake=False
)Create a new Note object from a Note data dictionary.
classmethodfromDict
- Parameters
-
data(dict)
-
The note's data
dictnote
The beat at which the note can be found
float_time
The left/right position of the note
int_lineIndex
The up/down position of the note
int_lineLayer
The note type
int_type
The cut direction of the note
int_cutDirection
The note's _customData property.
dict_customData
There is no more support for this.
If it doesn't link, it's a WIP. If you want to read it anywyas, Check the pages above.