Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: IIKII on January 20, 2019, 09:42:10 AM

Title: typewriter with fade in
Post by: IIKII on January 20, 2019, 09:42:10 AM
Hi, I am using string typewriter for my game but I am hoping to improve on it by adding in a 'fade in' effect on the last text character while it is being typed.

Any pointers to achieve that kind of effect?

thanks
Title: Re: typewriter with fade in
Post by: ch1ky3n on January 21, 2019, 05:36:47 PM
You can use mecanim/animator to achieve that
Title: Re: typewriter with fade in
Post by: djaydino on January 22, 2019, 02:56:10 AM
Hi,
You can use a float interpolate and a 'Set Color' action (there are different set color action depending on your needs)

You will need to use the float in the alpha and run from 0 to 1 or vice versa.
Title: Re: typewriter with fade in
Post by: IIKII on January 22, 2019, 11:13:23 PM
I am referring to fading in of the last character of the text, not the entire text.

Kind of like this example here (skip to 1.00)

Every time each character appeared, it will have a fading effect.
Title: Re: typewriter with fade in
Post by: tcmeric on January 22, 2019, 11:48:24 PM
Textmesh pro has some examples of how to achieve this. TMP is free and recommended. Check out their examples.
Title: Re: typewriter with fade in
Post by: IIKII on January 23, 2019, 05:45:25 AM
Textmesh pro has some examples of how to achieve this. TMP is free and recommended. Check out their examples.

Yeah I studied the vertex color example but it is not easy scripting it to change the alpha value.

Any chance you know how?

thanks