Ategon / Godot Small Wave BBCode

0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 1719348731
A text wave effect that moves one letter up at a time (for every 10 letters, that can be customized). Also has a shine effect which is what the part other than changing the offset is
1 @tool
2 extends RichTextEffect
3 class_name SmallWaveEffect
4
5 var bbcode = "smallwave"
6
7 func _process_custom_fx(char_fx: CharFXTransform) -> bool:
8 var time = fmod(char_fx.elapsed_time * 8 - char_fx.relative_index + 100, 10)
9 var local_time = fmod(time, 1)
10

Ategon / example.js

1 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 1709129268
1 function example() {
2 console.log("hello world!");
3 }
Новее Позже