Floating Text: Difference between revisions
m 2nd minor fix of the day 😭.... I think ill go to pc soon and re-review the whole thing just in case ... |
|||
| (6 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
| 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 32: | Line 32: | ||
| Text position || Text boxes (Numbers) || Text position. | | Text position || Text boxes (Numbers) || Text position. | ||
|- | |- | ||
| Text || Text box (String) || | | Text || Text box (String) || Text to display. | ||
|- | |- | ||
| Show '''Advance Text''' actions || Toggle (Bool) || Whether to show the '''Advance Text''' actions or not. | | Show '''Advance Text''' actions || Toggle (Bool) || Whether to show the '''Advance Text''' actions or not. | ||
| Line 56: | Line 56: | ||
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#Variables | '''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 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) | ||