A type definition for the data for a conversation text box. It includes things like the sprite to use, and the font and color for the text. The actual text is included in the ConversationData.

See also:

Fields

version:String

* Semantic version for dialogue box data.

text:DialogueBoxTextData

* Info about how to display text in the dialogue box.

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

* Multiply the size of the dialogue box sprite.

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

* The relative horizontal and vertical offsets for the dialogue box sprite.

name:String

* A human readable name for the dialogue box type.

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

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

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

* Whether to vertically flip the dialogue box sprite.

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

* Whether to horizontally flip the dialogue box sprite.

assetPath:String

* The asset path for the sprite to use for the dialogue box. * Takes a static sprite or a sprite sheet.

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

* If using a spritesheet for the dialogue box, the animations to use.