0 votes


Got tiles with diferents descriptions and events, and i want them to display it when enterin them, in continual, scrolling logs.

Got also an onready var to get the RichText Label node, but what would be the syntax for that please?

in Engine by (325 points)

Do you have a visual example of what you are looking for?

It's ok, gettin the text node when comin on my tiles. There's no scrollin, just texts replacin texts, but that's ok. Thxs!

1 Answer

+1 vote

Try something like this

$TextLabelNameExample.text = "RANDOM EXAMPLE TEXT!!!!"
by (573 points)

Thxs, that works. But the texts starts on top, and so it doesn't scroll actually. You'd know a way to make it start at the botom of the richtextlabel, so that you could have an effective scrollin?

The text will start scrolling, when it's long enough so it doesn't fit into the textfield any more.

Instead of using "=" in your script as suggested by Merlin1846, try "+=" to add text to the existing text.

Ok, thxs managed it.

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 Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.