Leather Engine Documentation
View source

typedef CharacterConfig

package modding

@:build(hscript.macros.UsingHandler.build())@:build(hscript.macros.ClassExtendMacro.build())

Fields

trailStalpha:Null<Float>

trailLength:Null<Int>

trailDiff:Null<Float>

trailDelay:Null<Int>

trail:Null<Bool>

swapDirectionSingWhenPlayer:Null<Bool>

singDuration:Null<Float>

positionOffset:Array<Float>

offsetsFlipWhenPlayer:Null<Bool>

offsetsFlipWhenEnemy:Null<Bool>

mainCharacterID:Null<Int>

imagePath:String

healthIcon:String

graphicsSize:Null<Float>

graphicSize:Null<Float>

followMainCharacter:Null<Bool>

@:optionaloptionalextraSheets:Null<Array<String>>

Any extra spritesheets to be with the main sheet.

@:optionaloptionaldefaultFlipY:Null<Bool>

defaultFlipX:Bool

deathCharacterName:Null<String>

deathCharacter:Null<String>

dancesLeftAndRight:Bool

characters:Array<CharacterData>

cameraOffset:Array<Float>

barColor:Array<Int>

antialiasing:Null<Bool>

antialiased:Null<Bool>

animations:Array<CharacterAnimation>

© 2025