Guide:Text formatting

From Project Arrhythmia Wiki
Jump to navigation Jump to search

Text objects in Project Arrhythmia can be formatted by typing TextMeshPro tags in the text field.

  • For tags that modify the text's format directly, the desired text must be surrounded by opening and closing tags (e.g. <b>Bolded text</b>).
  • For tags that do not target specific text, simply type the tag (e.g. First line<br>Second line).

The following tags can be applied to text in PA:

Rich Text Formatting Tags
Tag Example Function
<alpha=#YY> Alpha.jpg Change transparency of text, where YY is the hex code
<align=x> Align.jpg Change alignment of text, where x can be left, middle, or right
<br> FontBreak.jpg Insert a line break
<b> FontBold.jpg Bold text
<i> FontItalic.jpg Italicize text
<color=x> or <color=#XXXXXXYY> FontColor.jpg Change color of text, where x is the name of the color or XXXXXXYY is the color's hex + alpha code
<cspace=x> FontCspace.jpg Change character spacing, where x can be number of pixels or font units (em)
<font=x> FontFont.jpg Change font, latest options are "inconsolata", "liberationsans sdf", "majormonodisplay", "hellovetica", and "poorstory"
<material=x> FontMaterial.jpg Use in conjunction with the font tag to apply a specific material (for example, "liberationsans sdf - outline")
<line-height=x> FontHeight.jpg Change line spacing, where x can be pixels or font units
<lowercase> FontLower.jpg Change letters to lowercase
<mspace=x> FontMspace.jpg Change character spacing and make characters monospaced, where x can be pixels or font units
<uppercase> FontUpper.jpg Change letters to uppercase
<smallcaps> FontSmallcaps.jpg Change letters to small caps
<mark=#XXXXXXYY> FontMarker.jpg Highlight text, where XXXXXX is the color hex code and YY is the optional alpha code
<pos=x> FontPosition.jpg Change text position relative to original position, where x can be pixels, font units, or percentage
<rotate=x> FontRotate.jpg Rotate characters by x degrees
<size=x> FontSize.jpg Change size of text, where x can be pixels, font units, or percentage
<space=x> FontPosition.jpg Add space to text (same as pos but without percentage option)
<s> FontStrikethrough.jpg Strikethrough text
<u> FontUnderline.jpg Underline text
<sub> FontSub.jpg Make text subscript
<sup> FontSup.jpg Make text superscript
<voffset=x> FontVoffset.jpg Change vertical offset, where x can be pixels, font units, or percentage
Guides
Editor Basics First steps • Song VerificationCreating an objectKeyframingParentingRandomization • Prefabs • Uploading a level • Creating a collection
Editor Skills Creating characters • Animation techniques • Creating gameplay • Brainstorming ideas • Choosing a song • Telling a story
Technical Text formatting • Sharing level assets • Changing level audio