Floating Text: Difference between revisions

mNo edit summary
m 2nd minor fix of the day 😭.... I think ill go to pc soon and re-review the whole thing just in case ...
 
(4 intermediate revisions by the same user not shown)
Line 32: Line 32:
| Text position || Text boxes (Numbers) || Text position.
| Text position || Text boxes (Numbers) || Text position.
|-
|-
| Text || Text box (String) || The voice that says the phrase.
| 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 122: Line 124:
=== Advance Text ===
=== Advance Text ===


<code>{ "bar": 1, "beat": 1, "y": 0, "type": "AdvanceText", "id": 0, "fadeOutDuration": 3 }</code>
<code>{ "bar": X, "beat": X, "y": X, "type": "AdvanceText", "id": 0, "fadeOutDuration": 3 }</code>


'''id''' (integer)
'''id''' (integer)