Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Sly on November 06, 2014, 04:54:14 PM

Title: GUI Text Fade In/Out
Post by: Sly on November 06, 2014, 04:54:14 PM
Hello,

I'm using action GUI Text for make appear a text on my screen.

The thing is I want to make it fade in/out. I don't find anything for this. Is it possible?

If not, it could be cool to have this integrate directly in the GUI Text action.

Thanks in advance
Title: Re: GUI Text Fade In/Out
Post by: Sly on November 07, 2014, 12:17:33 PM
No idea? :)
Title: Re: GUI Text Fade In/Out
Post by: Twood on November 07, 2014, 12:41:16 PM
I'd try the Itween Fade To action for that
Title: Re: GUI Text Fade In/Out
Post by: 600 on November 07, 2014, 12:42:33 PM
Hi, I'm interested in this too.

For now I have an idea to SetColor GUI for Text for example with other FSM which changes GUI color from alpha to color. When you enter GUI it sends an event to that color fsm to animate its color variables.
Not tested yet, planning to do it little later.
Title: Re: GUI Text Fade In/Out
Post by: 600 on November 07, 2014, 01:41:28 PM
Thanks Twood for the tip, I didn't know this action,
found it here (bottom first page):

http://hutonggames.com/playmakerforum/index.php?topic=1777.0
Title: Re: GUI Text Fade In/Out
Post by: createasaurus on November 07, 2014, 03:56:40 PM
If anyone figures out how to fade something in (not out), please let me know how you did it.  I have been experimenting with fadeto and fadefrom, but so far it is a no go for me.

###Edit.  OK cool, I figured it out.  For fading in, use fadefrom and switch the default alpha field from 255 to zero.