Page 1 of 2

Small bug with the TypeWritterEffect ?

Posted: Mon Apr 29, 2019 10:46 pm
by JazzWikifoo
Hello Tony, hello all :-)

First, thank you for this great asset !

Im french, i hope my little english is not a problem :p

I have some technicals questions about the TypeWriterEffect for TextMesh Pro...

I try to make a game where all the actor's subtitles are in the same Subtitle text and i have some issues:

When i push Play, the TyperWriterEffect do a great job, but after some dialogues, the effect work ramdomly :s
And when i place an ActorSubtitlesColor component on some or all actors GameObject in scene, it does not work at all...

Here some screens (you can zoom on pics):

The dialogue Manager:
https://gyazo.com/6fa3aec864148b5a2f57e691498c6bc7

The Standars Dialogue UI component:
https://gyazo.com/e6762d23801768f5ce9857126cbe2a5a

The Standars UI Subtitle Panel component:
https://gyazo.com/c546069b4d497de2e0d38cc17a0122f8

The Subtitle Text GameObject:
https://gyazo.com/f4b40a79733b85196def3148a555b1f6

And to be sure, the Standars UI Menu Panel component:
https://gyazo.com/80bf62c9dad5ba7c38e04a52021542b2

And an animated GIF if necessary:
https://gyazo.com/8637546bc982a8c4837bf6a9a5fa21d6

I send you a private message with my scene unity package if needed.
--------------

And a two lttle questions:

1. Is there a way to assign the typewriter effect individually for each actors ? like a speed for computer, another speed for human, etc...

2. It is possible to empty the subtitle text box with sequence code to clear the screen when needed ?

Thanks you Tony and/or all !
Have a nice day :-)

Re: Small bug with the TypeWritterEffect ?

Posted: Tue Apr 30, 2019 9:00 am
by Tony Li
Hello,

I will investigate this. What versions of Unity and the Dialogue System are you using?

JazzWikifoo wrote: Mon Apr 29, 2019 10:46 pm1. Is there a way to assign the typewriter effect individually for each actors ? like a speed for computer, another speed for human, etc...
The easiest way is to use a different subtitle text (subtitle panel) for each actor. Position them in the same place so they look like they're the same.

Otherwise, you can add an OnConversationLine method to the Dialogue Manager. In this method, find the subtitle text's typewriter effect and set its speed.
JazzWikifoo wrote: Mon Apr 29, 2019 10:46 pm2. It is possible to empty the subtitle text box with sequence code to clear the screen when needed ?
No, but I can add it in the next version.

Re: Small bug with the TypeWritterEffect ?

Posted: Tue Apr 30, 2019 2:23 pm
by JazzWikifoo
Thank for your reply Tony :-)
I will investigate this. What versions of Unity and the Dialogue System are you using?
I use Unity 2018.3.12f1 and Dialogue System 2.1.4

The easiest way is to use a different subtitle text (subtitle panel) for each actor. Position them in the same place so they look like they're the same.
Yes but i try to make an IRC chat simulator game (i hope im clear), so if all of my actor have their own subtitle panel, the lines of all actor can't accumulate and can't be visible at the same time, no ?
Otherwise, you can add an OnConversationLine method to the Dialogue Manager. In this method, find the subtitle text's typewriter effect and set its speed.
Hmm i will give it a try, thank
No, but I can add it in the next version.
If possible...because for game design like IRC simulator, we need to accumulate the lines of all actors in the same subtitle text box, and we are forced to use TextMeshPro-Text component to avoid the "65000 vertices error message" and just for conversation design too.

Re: Small bug with the TypeWritterEffect ?

Posted: Fri May 03, 2019 2:06 am
by JazzWikifoo
Hello :-)
Any news ?

Re: Small bug with the TypeWritterEffect ?

Posted: Fri May 03, 2019 8:02 am
by Tony Li
Hi,

Still working on it. I'll try to have it resolved by the end of the weekend. Sorry for the delay.

Re: Small bug with the TypeWritterEffect ?

Posted: Fri May 03, 2019 8:31 am
by JazzWikifoo
To be sure, i have updated the Dialogue Manager to 2.1.5 but the problem persists.

After several tests, it seems as soon as a line of text appears in Play mode, including a color tag like "<color = # FFA61A> myWords </ color>", the tag works and the words are correctly colored, but the TextMeshProTypeWriterEffect component no longer works properly. But this only concerns color tags.

I hope it can help you Tony.
I'm waiting for your reply when you can, no problem for the delay.

Thanks :-)

Re: Small bug with the TypeWritterEffect ?

Posted: Fri May 10, 2019 10:19 pm
by JazzWikifoo
Hello Tony,

Any news about progress ?
Has my previous message helped to pinpoint where the problem comes from ?

Thanks you :-)

Re: Small bug with the TypeWritterEffect ?

Posted: Sat May 11, 2019 9:58 am
by Tony Li
Hello,

Sorry for taking so long. I'm working on it today. I can reproduce the problem, and I'm working on a solution.

Re: Small bug with the TypeWritterEffect ?

Posted: Sun May 12, 2019 9:53 am
by Tony Li
Hi,

I have a fix. Please try this patch:

DS_TextMeshProTypewriterPatch_2019-05-12.unitypackage

Re: Small bug with the TypeWritterEffect ?

Posted: Mon May 13, 2019 1:15 am
by JazzWikifoo
Tony Li wrote: Sun May 12, 2019 9:53 am Hi,

I have a fix. Please try this patch:

DS_TextMeshProTypewriterPatch_2019-05-12.unitypackage
It work like a charm !
Thanks you Tony :-)