diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-22 21:50:10 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-22 21:50:10 -0400 |
| commit | 96d5da7ae8459509780e99e3e53fd146f6b055b1 (patch) | |
| tree | 415be7d880b7d4a9a81438b35972be7d93c21ccb /client/Archipelago/rainbowText.gd | |
| parent | 6e758b70bf35063df270494932bb0fcfa8cacd14 (diff) | |
| download | lingo2-archipelago-96d5da7ae8459509780e99e3e53fd146f6b055b1.tar.gz lingo2-archipelago-96d5da7ae8459509780e99e3e53fd146f6b055b1.tar.bz2 lingo2-archipelago-96d5da7ae8459509780e99e3e53fd146f6b055b1.zip | |
[Client] Proguseful is now rainbow
Diffstat (limited to 'client/Archipelago/rainbowText.gd')
| -rw-r--r-- | client/Archipelago/rainbowText.gd | 10 |
1 files changed, 10 insertions, 0 deletions
| diff --git a/client/Archipelago/rainbowText.gd b/client/Archipelago/rainbowText.gd new file mode 100644 index 0000000..9a4c1d0 --- /dev/null +++ b/client/Archipelago/rainbowText.gd | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | extends RichTextEffect | ||
| 2 | |||
| 3 | var bbcode = "rainbow" | ||
| 4 | |||
| 5 | |||
| 6 | func _process_custom_fx(char_fx: CharFXTransform): | ||
| 7 | char_fx.color = Color.from_hsv( | ||
| 8 | char_fx.elapsed_time - floor(char_fx.elapsed_time), 1.0, 1.0, 1.0 | ||
| 9 | ) | ||
| 10 | return true | ||
