Author Topic: blink // flash button  (Read 4816 times)

ddfire

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 32
    • View Profile
blink // flash button
« 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

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: blink // flash button
« Reply #1 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.

ddfire

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 32
    • View Profile
Re: blink // flash button
« Reply #2 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

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: blink // flash button
« Reply #3 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.

ddfire

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 32
    • View Profile
Re: blink // flash button
« Reply #4 on: April 16, 2012, 03:38:56 PM »
cool, that drop tween color script was the parrt i was missing!!!
thanks your very much!!!!

Redd

  • Newbie
  • *
  • Thank You
  • -Given: 5
  • -Receive: 1
  • Posts: 10
    • View Profile
Re: blink // flash button
« Reply #5 on: June 28, 2013, 05:19:17 PM »
How do you set it to blink only twice?

ddfire

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 32
    • View Profile
Re: blink // flash button
« Reply #6 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...

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: blink // flash button
« Reply #7 on: June 28, 2013, 10:49:50 PM »
Easier to adjust the curve so that it resembles an upside-down "W".

Rick74

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 34
    • View Profile
Re: blink // flash button
« Reply #8 on: January 29, 2014, 08:15:18 PM »
We call upside down "W"'s, "M"'s...lol!