Skip to content

Commit

Permalink
Include new Cannon effect in preview.
Browse files Browse the repository at this point in the history
Former-commit-id: 35beae9
  • Loading branch information
tommyettinger committed Mar 23, 2023
1 parent 6b00639 commit d5d5db2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ typing-label, but there have been some changes. You can check [the TextraTypist
for more information.

As of 0.8.0, there are many new effects. Jolt, Spiral, Spin, Crowd, Shrink, Emerge, Heartbeat, Carousel, Squash, Scale,
Rotate, Attention, Highlight, Link, Trigger, and Stylist are all new to TextraTypist (not in typing-label). You can see
usage instructions and sample GIFs at
Rotate, Attention, Highlight, Link, Trigger, Stylist, and Cannon are all new to TextraTypist (not in typing-label). You
can see usage instructions and sample GIFs at
[the TextraTypist wiki's Tokens page](https://github.com/tommyettinger/textratypist/wiki/Tokens). Most of these effects
make use of the smooth scaling and rotation options that effects can use starting in TextraTypist 0.5.1 . Some make use
of mouse tracking, new in 0.7.0, such as how Link only responds to a click on a range of text.
Expand Down
2 changes: 1 addition & 1 deletion images/preview.gif.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d32d0c401d697d33f45b066eed1bf93ed6cc143f
d05b75e484460bc2c4a9def12d756fedf215bd67
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public TypingLabel createTypingLabel() {
text.append("{RESET} You {HEARTBEAT}[darker red]can also wait[#FFFFFF]{ENDHEARTBEAT} for a {EASE=-15;2;1}[black][%?whiten]second[]{ENDEASE}{WAIT=1} {EASE=15;8;1}{COLOR=#E6DB74}or two{CLEARCOLOR}{ENDEASE}{WAIT=2}, ");
text.append("[%?Error]jussst[%][.][red][@Canada]spelling[] to [%?WARN]catching[%][.][#FFD510FF][@Canada]grammar[] an {RAINBOW=1;1;0.7}[@Console][;]{STYLE=%?jostle}event[%][;][@]{ENDRAINBOW} in [%?note]code[%][.][#3088B8FF][@Canada]cool[]{EVENT=example}!{WAIT} ");
text.append("{NORMAL}\n\n");
text.append("{VAR=FIRE_WIND}Imagine the [~]bugs[~]! I mean, possibilities! {ENDGRADIENT}[+🔥][+😁][+👏]{WAIT=0.375} {RESET}");
text.append("{VAR=FIRE_WIND}Imagine the [~]bugs[~]! I mean, possibilities! {ENDGRADIENT}{SPEED=0.1}{CANNON=1;1;1.5;2}[+🔥][+😁][+👏]{WAIT=2} {RESET}");

Font font = KnownFonts.addEmoji(KnownFonts.getStandardFamily()).scale(0.8f, 0.8f);
final TypingLabel label = new TypingLabel(text.toString(), font);
Expand Down

0 comments on commit d5d5db2

Please sign in to comment.