Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.
megamaz edited this page Mar 16, 2021 · 5 revisions

This is the Note class. It is a simple data container for note objects.

Create Instance

The note does not need to exist inside the level.dat for 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
)

Functions

Variables

fromDict

Create a new Note object from a Note data dictionary.

classmethod fromDict

  • Parameters
    • data (dict)

note

The note's data

dict note

_time

The beat at which the note can be found

float _time

_lineIndex

The left/right position of the note

int _lineIndex

_lineLayer

The up/down position of the note

int _lineLayer

_type

The note type

int _type

_cutDirection

The cut direction of the note

int _cutDirection

_customData

The note's _customData property.

dict _customData

If it doesn't link, it's a WIP. If you want to read it anywyas, Check the pages above.

Objects

Events

Clone this wiki locally