Codename LogoCodename Logo

funkin.game.Note

APIWiki

Static variables

View in GitHub

staticswagWidth:Float = 160 * 0.7

Constructor

View in GitHub

new(strumLine:StrumLine, noteData:ChartNote, sustain:Bool = false, sustainLength:Float = 0, sustainOffset:Float = 0, ?prev:Note)

Variables

angleOffsets:Bool = true

animSuffix:String = null

avoid:Bool = false

Whenever that note should be avoided by Botplay.

canBeHit:Bool = false

earlyPressWindow:Float = 0.5

extra:Map<String, Dynamic> = []

flipSustain:Bool = true

gapFix:Single = 0

isSustainNote:Bool = false

lastScrollSpeed:Null<Float> = null

latePressWindow:Float = 1

read onlymustPress:Bool

nextNote:Note

The note that comes after this one (sustain and not)

nextSustain:Note

The next sustain after this one

noteAngle:Null<Float> = null

noteData:Int = 0

read onlynoteType:String

noteTypeID:Int = 0

prevNote:Note

The note that comes before this one (sustain and not)

scrollSpeed:Null<Float> = null

splash:String = "default"

Name of the splash.

read onlystrumID:Int

strumRelativePos:Bool = true

Whenever the position of the note should be relative to the strum position or not. For example, if this is true, a note at the position 0; 0 will be on the strum, instead of at the top left of the screen.

strumTime:Float = 0

sustainLength:Float = 0

tooLate:Bool = false

wasGoodHit:Bool = false

Methods