Addon ID

  • skymen_text_glyph

Info

Statistics

  • Download count11 total downloads
  • Latest download count 7 downloads of latest version
  • Average download count2 downloads per day average

Owners

A list of all Actions, Conditions and Expressions supported in this addon.

Icons and flow

  • Actions

    Flow text around {0} on {1} side with margin {2}

    Text wraps around the picked instances. Sprites use their collision polygon, anything else its bounding box. The layout follows them as they move.

    Clear flow exclusions

    Stop wrapping around every instance.

    Stop flowing text around {0}

    Stop wrapping around the picked instances.

    Set icon set to {0}

    Use a Sprite's animations for [icon=animation] tags. The Sprite needs at least one instance in the layout.

Fonts

  • Actions

    Load font {0} ({1})

    Load a project font ahead of time so text using it appears without delay. Waits until the font is ready.

  • Conditions

    Is font {0} ({1}) loaded

    True once a project font has been loaded and is ready to draw with.

Spacing

  • Actions

    Set columns to {0} with gap {1}

    Flow the text through several columns inside the box, filling each to the box height in turn.

    Set justify word space to {0} to {1} times, letter space up to {2}

    How far spaces may shrink and grow when justifying before letters spread apart. Max 0 means no limit.

    Set letter spacing to {0}

    Extra pixels after every character. Can be negative.

    Set max lines to {0}

    Highest number of lines to lay out. 0 means no limit.

    Set paragraph spacing to {0}

    Extra pixels between paragraphs, meaning after every line break in the text.

    Set word spacing to {0}

    Extra pixels after every space. Can be negative.

Text

  • Actions

    Append {0}

    Add some text to the end of the existing text.

    Set BBCode {0}

    Enable or disable BBCode parsing of the text.

    Set ellipsis {0}

    Cut text that does not fit the box and end it with an ellipsis (…).

    Set font color to {0}

    Set the text color, e.g. with rgb(255, 0, 0) or rgbEx(100, 0, 0).

    Set font face to {0} ({1})

    Set the font family and style. The family must match a .ttf or .otf project file.

    Set font size to {0}

    Set the font size in points.

    Set horizontal alignment to {0}

    Set the horizontal alignment of the text.

    Set horizontal alignment to {0}%

    Set where each line sits in the box: 0 is the left edge, 50 the center, 100 the right edge. Any value in between works.

    Set justify to {0}

    Stretch word spacing so lines fill the box width.

    Set line height to {0}

    Set the extra pixels added to every line. Can be negative.

    Set origin to ({0}, {1})

    Set the origin point as fractions of the size. (0, 0) is the top left corner, (0.5, 0.5) the center, (1, 1) the bottom right corner.

    Set origin X to {0}

    Set the horizontal origin as a fraction of the width: 0 is the left edge, 0.5 the center, 1 the right edge.

    Set origin Y to {0}

    Set the vertical origin as a fraction of the height: 0 is the top edge, 0.5 the center, 1 the bottom edge.

    Set overflow {0}

    Let text extend past the bottom of the box. When off, lines that do not fit inside the box are not drawn.

    Set text to {0}

    Set the text to display. BBCode tags are parsed when BBCode is enabled.

    Set text direction to {0}

    Set the base paragraph direction.

    Set vertical alignment to {0}

    Set the vertical alignment of the text.

    Set vertical alignment to {0}%

    Set where the text block sits in the box: 0 is the top, 50 the middle, 100 the bottom. Any value in between works.

    Set wrapping to {0}

    Set whether lines break between words, between characters, or only at line breaks in the text.

  • Conditions

    Text is {0} (case sensitive: {1})

    Compare the current text with a string.

  • Expressions

    AlignX

    Horizontal alignment in percent, 0 (left) to 100 (right).

    AlignY

    Vertical alignment in percent, 0 (top) to 100 (bottom).

    FaceName

    The current font family name.

    FaceSize

    The current font size in points.

    LineCount

    Number of laid out lines.

    LineHeight

    The extra pixels added to every line.

    OriginX

    Horizontal origin as a fraction of the width, 0 (left) to 1 (right).

    OriginY

    Vertical origin as a fraction of the height, 0 (top) to 1 (bottom).

    PlainText

    The current text with BBCode tags removed.

    Text

    The current text, including BBCode tags.

    TextHeight

    Height of all laid out lines, in layout pixels.

    TextWidth

    Width of the widest line of laid out text, in layout pixels.

Typewriter

  • Actions

    Finish typewriter text

    Reveal the whole text immediately.

    Typewriter text {0} over {1} seconds

    Set the text and reveal it one character at a time. The layout is computed once, so nothing shifts while typing.

  • Conditions

    Is running typewriter text

    True while text is being revealed by the typewriter action.

    On typewriter text finished

    Triggered when the typewriter action has revealed the whole text.

Tags

  • Conditions

    Has tag {0} at ({1}, {2})

    True if the text under a layout position is inside a [tag=...] span with the given name.

  • Expressions

    TagAtPosition

    The [tag=...] name under a layout position, or an empty string.

    TagCount

    How many separate [tag=...] spans with the given name the text contains.

    TagHeight

    The height of the nth [tag=...] span with the given name, in layout coordinates.

    TagWidth

    The width of the nth [tag=...] span with the given name, in layout coordinates.

    TagX

    The x of the nth [tag=...] span with the given name, in layout coordinates.

    TagY

    The y of the nth [tag=...] span with the given name, in layout coordinates.