Codename LogoCodename Logo

funkin.game.Strum

APIWiki

Constructor

View in GitHub

new(?X:Float, ?Y:Float, ?SimpleGraphic:Null<FlxGraphicAsset>)

Variables

@:value("")animSuffix:String = ""

Which animation suffix on characters that should be used when hitting notes.

@:value(false)cpu:Bool = false

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

@:value([])read onlylastDrawCameras:Array<FlxCamera> = []

@:value(-5000)lastHit:Float = -5000

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

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

@:value(null)getJustPressed:StrumLine ‑> Bool = null

@:value(null)getJustReleased:StrumLine ‑> Bool = null

@:value(null)getPressed:StrumLine ‑> Bool = null

Methods

View in GitHub

@:value({ force : true })playAnim(anim:String, force:Bool = true):Void

View in GitHub

inlinepress(time:Float):Void

View in GitHub

updatePlayerInput(pressed:Bool, justPressed:Bool, justReleased:Bool):Void