diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2023-05-16 01:09:23 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2023-06-05 18:45:00 +0200 |
commit | 70e6c3cbb036aa76d730db8e2a237e67cbd41058 (patch) | |
tree | 0e2b7c228029055837bb7b8e6fb9e0f8bc3ee566 /platform/ios/export/export_plugin.cpp | |
parent | 0f76ff2115ae56e6638e1e2bdb8851d470e6e0e3 (diff) | |
download | redot-engine-70e6c3cbb036aa76d730db8e2a237e67cbd41058.tar.gz |
Add a `[pulse]` built-in effect to RichTextLabel
In games, blinking text is one of the more frequently used animations.
It can be (sparingly) used to bring attention to important messages
in a chat log or inventory tooltip, for instance.
This effect accepts the following options:
- `freq`: How fast text blinks (higher is faster).
- `color`: The target color multiplier for blinking.
The default mostly fades out text, but not entirely (for better accessibility).
- `ease`: The easing function exponent to use.
Negative values provide in-out easing, which is why `-2.0` is the default.
Diffstat (limited to 'platform/ios/export/export_plugin.cpp')
0 files changed, 0 insertions, 0 deletions