Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: ddfire on April 16, 2012, 03:15:29 PM

Title: blink // flash button
Post by: ddfire on April 16, 2012, 03:15:29 PM
Hi
What is the best way to make a button blink? the idea is make a simple tutorial and show the user to press the button.
thanks!!!
David
Title: Re: blink // flash button
Post by: ArenMook on April 16, 2012, 03:16:35 PM
I personally would recommend adding a highlight glow to the button, and dropping a TweenColor on it set up to always play, and be on a ping-pong loop.
Title: Re: blink // flash button
Post by: ddfire on April 16, 2012, 03:19:33 PM
first, thanks for your SUPER fast answer.
may you write that for a dump who is learning ?  :-[
Thanks!!!
David
Title: Re: blink // flash button
Post by: ArenMook on April 16, 2012, 03:28:39 PM
Not sure what you mean. Just attach TweenColor script to a sprite. Set Style to PingPong, then set the From and To colors. For example fully opaque green in From, and semi-transparent green in To. Hit Play and see what happens.
Title: Re: blink // flash button
Post by: ddfire on April 16, 2012, 03:38:56 PM
cool, that drop tween color script was the parrt i was missing!!!
thanks your very much!!!!
Title: Re: blink // flash button
Post by: Redd on June 28, 2013, 05:19:17 PM
How do you set it to blink only twice?
Title: Re: blink // flash button
Post by: ddfire on June 28, 2013, 05:28:23 PM
the tween's have an event they can send when they finish... you can play it once, when it finish play it again...
Title: Re: blink // flash button
Post by: ArenMook on June 28, 2013, 10:49:50 PM
Easier to adjust the curve so that it resembles an upside-down "W".
Title: Re: blink // flash button
Post by: Rick74 on January 29, 2014, 08:15:18 PM
We call upside down "W"'s, "M"'s...lol!