Codename LogoCodename Logo

funkin.game.cutscenes.dialogue.DialogueCharacter

APIWiki

Constructor

View in GitHub

new(name:String, position:String)

Variables

charData:Access

curTween:FlxTween

cutscene:DialogueCutscene = DialogueCutscene.cutscene

defPath:String = "dialogue/characters/"

defaultAnim:String = "normal"

finishAnimCallback:String ‑> Void = null

Methods

View in GitHub

hide(?animation:String, force:Bool = false):Void

View in GitHub

show(x:Float, y:Float, ?animation:String, force:Bool = false):Void

Inherited Variables

Defined by FunkinSprite

animDatas:Map<String, AnimData> = []

animOffsets:Map<String, FlxPoint> = new Map<String,FlxPoint>()

beatAnims:Array<BeatAnim> = []

beatInterval:Int = 2

ODD interval -> asynced; EVEN interval -> synced

beatOffset:Int = 0

debugMode:Bool = false

extra:Map<String, Dynamic> = []

initialZoom:Float = 1

name:String

skipNegativeBeats:Bool = false

zoomFactor:Float = 1

Inherited Methods

Defined by FunkinSprite

View in GitHub

addOffset(name:String, x:Float = 0, y:Float = 0):Void

View in GitHub

getAnim(name:String):OneOfTwo<FlxAnimation, FlxSymbolAnimation>

View in GitHub

inlinegetAnimOffset(name:String):Null<FlxPoint>

View in GitHub

inlinegetNameList():Array<String>

View in GitHub

inlinehasAnimation(AnimName:String):Bool

View in GitHub

loadSprite(path:String, Unique:Bool = false, ?Key:String):Void

View in GitHub

measureHit(curMeasure:Int):Void

View in GitHub

onPropertySet(property:String, value:Dynamic):Void

View in GitHub

inlineremoveAnimation(name:String):Void

View in GitHub

stepHit(curBeat:Int):Void

View in GitHub

switchOffset(anim1:String, anim2:String):Void