A type definition for a specific speaker in a conversation. It includes things like what sprite to use and its available animations.

See also:

Fields

version:String

* Semantic version of the speaker data.

@:optional@:default(1.0)optionalscale:Null<Float>

* The scale to apply to the sprite.

@:optional@:default([0, 0])optionaloffsets:Null<Array<Float>>

* The offsets to apply to the sprite's position.

name:String

* A human-readable name for the speaker.

@:optional@:default(false)optionalisPixel:Null<Bool>

* Whether to disable anti-aliasing for the dialogue box sprite.

@:optional@:default(false)optionalflipY:Null<Bool>

* Whether the sprite should be flipped vertically.

@:optional@:default(false)optionalflipX:Null<Bool>

* Whether the sprite should be flipped horizontally.

assetPath:String

* The path to the asset to use for the speaker's sprite.

@:optional@:default([])optionalanimations:Null<Array<AnimationData>>

* The available animations for the speaker.