Typing text, with separate animation for each letter. How?

Godot Version

Godot 4.3

Question

Hello everyone, I can’t find anywhere a way to make text appear with letter-by-letter animation. To conditionally, each letter that appears is accompanied by its own animation of appearance, let’s say it goes from size 0 to normal size.

How can this be done in Godot 4?
Please help!!

How much text?

If it is just a title like “My Game”, just add each letter one by one into a HBox container. On animation finished, or on a timer, add the next letter until all the letters have animated and appeared.

If you are talking about a lot of text, then I would have to rethink that idea.

Hope that helps.

By the way, thanks for the idea, but I need to implement a dialog system and I want to add my own animation for the appearance of each letter, can this be somehow implemented and applied to a textbox?

I’m not totally sure what you’re going for, but have you tried using tweens? From what I understand, they can be used to change the attribute of a node’s property over a certain amount of time. I’m using a tween on a text label’s visible ratio property to have my dialogue come in letter by letter. This page helped me:

1 Like

@ry_here
The issue he is facing is that you cannot tween a single letter in label, just the entire label.

@danila_jrcome
No it will not work for lots of text. In my own dialogue system I added the letters one by one to the label, which was fairly straight forward, but I don’t know how you would animate them individually. Sorry.

1 Like

Okay, I’ll see what can be done, thanks for the feedback!

Nothing, everything is fine, I am still grateful that you paid attention, I would clearly like to see in the format of a video or instructions how to implement such animation in the dialogue system…

1 Like