This is an archive. | |
See the new ClickWiki at https://clickwiki.github.io. This version is just an archive for the purposes of migrating content to the new structure. |
Firefly 2D Text
Author | |
Status | Released, In Development |
Release Date | November 30th, 2016 |
Available for | |
Supported Runtimes | |
License | Paid |
Attributes | |
Download | |
---|---|
Includes Examples | Yes |
Includes Help Files | Yes |
Links | |
Alternates | See 3D Techniques |
Displays a 2D text string above the 3D world in the Firefly engine. Its position is determined just like a string object would be in your 2D project. It does not move with the rest of the 3D scene and always remains on top.
Contents
Conditions
Text
Is Font Bold
Boolean return based on if Bold is set
Is Font Italic
Boolean return based on if Italic is set
Is Font Underline
Boolean return based on if Underline is set
Is Font Strikeout
Boolean return based on if Strikeout is set
Actions
Text
Set font name
Select a new font by passing its name in the expression editor
Set Size
Set the size of the font
Set bold
Set the use of bold, boolean 0=off, 1=on
Set italic
Set the use of italic, boolean 0=off, 1=on
Set underline
Set the use of underline, boolean 0=off, 1=on
Set strikeout
Set the use of strikeout, boolean 0=off, 1=on
Set font color
Using a color set expression, change color of font
Set Text
Pass using the expression editor the contents of the displayed string
Set Transparency
Determine how opaque with the expression editor the display string is
Set Object Width
Determine the string display surface’s width
Set Object Height
Determine the string display surface’s height
Expressions
Get Text
Text$( "Firefly 2D Text" )
Returns currently displayed text
Get Transparency
Trans( "Firefly 2D Text" )
Returns value of transparency setting