playMaker

Author Topic: typewriter with fade in  (Read 341 times)

iikii

  • Junior Playmaker
  • **
  • Posts: 66
    • View Profile
typewriter with fade in
« on: January 20, 2019, 07: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

ch1ky3n

  • Junior Playmaker
  • **
  • Posts: 71
    • View Profile
Re: typewriter with fade in
« Reply #1 on: January 21, 2019, 03:36:47 PM »
You can use mecanim/animator to achieve that

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4309
    • View Profile
    • jinxtergames
Re: typewriter with fade in
« Reply #2 on: January 22, 2019, 12: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.

iikii

  • Junior Playmaker
  • **
  • Posts: 66
    • View Profile
Re: typewriter with fade in
« Reply #3 on: January 22, 2019, 09: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.

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 698
    • View Profile
Re: typewriter with fade in
« Reply #4 on: January 22, 2019, 09:48:24 PM »
Textmesh pro has some examples of how to achieve this. TMP is free and recommended. Check out their examples.

iikii

  • Junior Playmaker
  • **
  • Posts: 66
    • View Profile
Re: typewriter with fade in
« Reply #5 on: January 23, 2019, 03: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