A problem making typing effect using TagText #501
logihoryong
started this conversation in
Ideas
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Rex. I am using couple of your libraries in my game and it is of great help.
I have one problem that I couldn't think of a solution and want to ask you directly.
I applied a typing effect using
TagText
, by usingsetInterval
. Below is the code.The code simply add a string to a variable
final
and applies it usingsetText
text every 50 ms.The problem is that when there are tags, for example
<class='highlight'>Some text...</class>
, The tags (<class='highlight'>) also appear in the typing effect. After the tag set is completely appended and applied, the styles change the way they should.Is there any way to avoid this? Or may I request a feature on it?
Thanks a bunch!
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment · 1 reply
-
TextTyping behavior, demo
Beta Was this translation helpful? Give feedback.
All reactions
-
There was a function already. Thank you so much. The typing works smooth.
Beta Was this translation helpful? Give feedback.
All reactions