Codename LogoCodename Logo

funkin.game.Note

APIWiki

Static variables

View in GitHub

@:value(160 * 0.7)staticswagWidth:Float = 160 * 0.7

Constructor

View in GitHub

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

Variables

@:value(true)angleOffsets:Bool = true

@:value(null)animSuffix:String = null

@:value(false)avoid:Bool = false

Whenever that note should be avoided by Botplay.

@:value(false)canBeHit:Bool = false

@:value(0.5)earlyPressWindow:Float = 0.5

@:value([])extra:Map<String, Dynamic> = []

@:value(true)flipSustain:Bool = true

@:value(0)gapFix:Single = 0

@:value(false)isSustainNote:Bool = false

@:value(null)lastScrollSpeed:Null<Float> = null

@:value(1)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

@:value(null)noteAngle:Null<Float> = null

@:value(0)noteData:Int = 0

read onlynoteType:String

@:value(0)noteTypeID:Int = 0

prevNote:Note

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

@:value(null)scrollSpeed:Null<Float> = null

@:value("default")splash:String = "default"

Name of the splash.

read onlystrumID:Int

@:value(true)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.

@:value(0)strumTime:Float = 0

@:value(0)sustainLength:Float = 0

@:value(false)tooLate:Bool = false

@:value(false)wasGoodHit:Bool = false

Methods