Playmaker Forum
PlayMaker Feedback => Action Requests => Topic started by: Alatriste on August 15, 2017, 07:50:25 AM
-
Hi,
I'm using the String Typewriter effect to write some texts in a iGUI text box. However what happens many times is that the words close to the limit of the border of the box get cut and jump to the next line. The effect is not nice and I was wondering whether there is away to improve it.
For instance, if I write a sentence. "Hello, This is a test" but the text box is smaller than the whole text, what happens is that I'll see this: "Hello, This is a te" in the line, and right after "Hello, This is a (in the first line) test (in the second line).
Does it make sense? "Test" will start writing in the first line, but because there is not enough space, it will jump to the second line.
Edit: I have been investigating and aparently there is a script that makes something similar in the templates of TextMeshPro. Is there anyway to implement it to the existing Typewriter effect?
-
Hi,
i have an idea but i would need to know the maximum length somehow
can you show that script from textmesh?
-
Sure, here it is.
-
hi,
Is the text box going to be a fixed size?
-
Yes. Once I setup the box the size will be always the same.
-
Hi,
Just to let you know, i'm working on it.
but there are still some issues.
-
Thanks a lot djaydino. :)
I think it can be a nice addition to the existing action.
-
Hi,
Sorry that it takes so long, but i have several issues with the rich text part(<b></b> stuff)
so i think i might need to rebuild this.
-
Thanks for the update!
-
Hi djaydino,
I just needed this action to finish my little game, so I finally asked a friend to do something I could use, as I couldn't wait any longer. Maybe you can use it to improve it.
http://hutonggames.com/playmakerforum/index.php?topic=15820.0
Thanks a lot for your interest. I really appreciate it.