0101100101 / FoldableDockWidget;py
0 curtidas
0 bifurcações
1 arquivos
Última atividade 10 months ago
| 1 | # todo when creating the window, need to be able to set whether can resize height or not? e.g. image / chart |
| 2 | # todo why is there a margin between bottom and top of widgets? |
| 3 | # todo the QLabel should have a width that spans to multilines where necessary instead of just increasing width |
| 4 | |
| 5 | import sys |
| 6 | from random import randint |
| 7 | |
| 8 | from PySide6.QtCore import QSize, Qt |
| 9 | from PySide6.QtGui import QIcon, QMouseEvent |
| 10 | from PySide6.QtWidgets import QDockWidget, QWidget, QToolButton, QStyle, QHBoxLayout, QStyleFactory, QSizePolicy, \ |
Ategon / Godot Small Wave BBCode
0 curtidas
0 bifurcações
1 arquivos
Última atividade 2 years ago
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 |
Próximo
Anterior