458
edits
No edit summary |
m (what? why is it like this but not color) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
| tablocation = VFX | | tablocation = VFX | ||
| eventtype = FloatingText | | eventtype = FloatingText | ||
| versionorigin = | | versionorigin = r10a | ||
| shortcut = A | | shortcut = A | ||
}} | }} | ||
'''Floating Text''' is an event in the '''VFX | '''Floating Text''' is an event in the '''VFX Tab''' that displays text in the foreground of a room. This event is commonly used for lyrics or other places wherein alternatives like '''[[Show Status Sign]]''' or '''[[Show Dialogue]]''' may be less appropriate or useful. Its color, outline color, rotation, size, and position can be edited. It can't be moved. | ||
== Usage == | == Usage == | ||
Line 51: | Line 51: | ||
To separate '''syllables''', use "<code>/</code>" (e.g. <code>I've/ been/ wai/ting/ for/ so/ long...</code>). | To separate '''syllables''', use "<code>/</code>" (e.g. <code>I've/ been/ wai/ting/ for/ so/ long...</code>). | ||
To separate '''paragraphs''', use "<code>\n</code>" (e.g. <code>To/ all/ my/ friends/ that/ I/ have/ lost,/'''\n'''while/ cros/sing/ brid/ges/ I/ have/ crossed,</code>). | To separate '''paragraphs''', use "<code>\n</code>" (literal string) (e.g. <code>To/ all/ my/ friends/ that/ I/ have/ lost,/'''\n'''while/ cros/sing/ brid/ges/ I/ have/ crossed,</code>). | ||
To separate '''different lyrics''', use <code>\n</code> (a new line character). The new line counts as a "<code>/</code>", meaning that it'll split syllables. <br>(e.g. <code>Though<br>E/ven/ when/ it/ goes<br>E/ven/ when/ it/ goes<br>E/ven/ when/ it/ goes<br>E/ven/ when/ it/ goes<br>E/ven/ when/ it/ goes<br>E/ven/ when/ it/ goes<br>E/ven/ when/ it/ goes<br>E/ven/ when/ it/ goes/, it/ is/ not/ gone</code>) | To separate '''different lyrics''', use <code>\n</code> (a new line character). The new line counts as a "<code>/</code>", meaning that it'll split syllables. <br>(e.g. <code>Though<br>E/ven/ when/ it/ goes<br>E/ven/ when/ it/ goes<br>E/ven/ when/ it/ goes<br>E/ven/ when/ it/ goes<br>E/ven/ when/ it/ goes<br>E/ven/ when/ it/ goes<br>E/ven/ when/ it/ goes<br>E/ven/ when/ it/ goes/, it/ is/ not/ gone</code>) | ||
To change the '''color''' of a ''syllable'', encapsulate the text in <code><color=#HEXALPHA></color></code> (e.g. <code>It/ is/ get/ting/ clo/ser/ and/ clo/ser/ to/ <color=#FF0000FF>you.</color>"</code>). Note that this only affects the '''text''' color, and not its '''outline'''. | To change the '''color''' of a ''syllable'', encapsulate the text in <code><color=#HEXALPHA></color></code> (e.g. <code>It/ is/ get/ting/ clo/ser/ and/ clo/ser/ to/ <color=#FF0000FF>you.</color>"</code>). Note that this only affects the '''text''' color, and not its '''outline'''. | ||
To change the '''size''' of a ''syllable'', encapsulate the text in <code><size=NUM></\size></code> (with the backslash) (e.g. <code>Thank/ <size=100>GOD</size>/ it's/ o/ver/</code>). Note that this will make the encapsulated text not display if it's using the default latin pixel font. Any other font will properly display the resize. | |||
To use any '''special characters''' literally without affecting the functionality, put a "<code>\</code>" behind the character (e.g. <code>Our/ worries/ and'''\/'''or/ our/ fears</code>). | To use any '''special characters''' literally without affecting the functionality, put a "<code>\</code>" behind the character (e.g. <code>Our/ worries/ and'''\/'''or/ our/ fears</code>). | ||
Line 63: | Line 65: | ||
=== Advanced === | === Advanced === | ||
'''Floating Text''' events support [[RDCode]] | '''Floating Text''' events support [[RDCode#Variables|RDCode variable reading]]. | ||
Since the position of the floating text cannot be dynamically changed with the event on its own, '''[[Move Room]]''' events can be used on an empty transparent room with the text to move it. | Since the position of the floating text cannot be dynamically changed with the event on its own, '''[[Move Room]]''' events can be used on an empty transparent room with the text to move it. | ||
Line 85: | Line 87: | ||
'''times''' (string) | '''times''' (string) | ||
<br>? | <br>Possibly an old parameter. Currently useless. (''May be removed in the future?'') | ||
'''color''' (string) | '''color''' (string) | ||
Line 112: | Line 114: | ||
'''anchor''' (enum) | '''anchor''' (enum) | ||
<br>Alignment of the text, separated as <code>VerticalHorizontal</code>, i.e., values: ''UpperLeft'', ''UpperCenter'', ''UpperRight'', ''MiddleLeft'', ''MiddleCenter'', ''MiddleRight'' ''LowerLeft'', ''LowerCenter'', ''LowerRight''. | <br>Alignment of the text, separated as <code>VerticalHorizontal</code>, i.e., values: ''UpperLeft'', ''UpperCenter'', ''UpperRight'', ''MiddleLeft'', ''MiddleCenter'', ''MiddleRight'', ''LowerLeft'', ''LowerCenter'', ''LowerRight''. | ||
'''narrate''' (bool) | '''narrate''' (bool) | ||
Line 122: | Line 124: | ||
=== Advance Text === | === Advance Text === | ||
<code>{ "bar": | <code>{ "bar": X, "beat": X, "y": X, "type": "AdvanceText", "id": 0, "fadeOutDuration": 3 }</code> | ||
'''id''' (integer) | '''id''' (integer) |
edits