+1 vote

I want to make a given text display animated, one character at a time, as if someone is typing it. I know this can be done with the Timer node, but how would I make it so that it only animates the given text once, stops animating after it's done, and then moves on to animate the next given text when called? Also, how could I vary the "typing" speed between a range or be of a random speed? I am using the LineEdit node as the input and the RichTextLabel as the output.

Thanks in advance!

asked Aug 10, 2016 in Engine by Lindsay4047 (39 points)

1 Answer

0 votes

You can use an AnimationPlayer and play with the Characters Visible or Percent Visible property, depending if you're using a Label or a RichTextLabel. It's quite simple really, and allows you to easily change the speed (or play the animation backwards to simulate erasing).

answered Aug 10, 2016 by Calinou (6,336 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.