playMaker

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

iikii

  • Junior Playmaker
  • **
  • Posts: 59
    • 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: 68
    • 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: 4034
    • 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: 59
    • 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)
https://www.youtube.com/watch?v=fD-yoTiu_ns

Every time each character appeared, it will have a fading effect.

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 691
    • 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: 59
    • 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