Author Topic: Rewind a tween or use the pong of pingpong  (Read 4268 times)

maesla

  • Guest
Rewind a tween or use the pong of pingpong
« on: October 24, 2013, 09:38:35 AM »
Hello everyone.

Very short question:

Is there any way for doing a rewind of a tween effect? I use it in a popup. I have a tween when the popUp shows up. I want the same effect when the popUp is hidden, but the opposite. It is basically to use the "pong" of the pingpong Style.

Thank you very much

Cwal

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 22
    • View Profile
Re: Rewind a tween or use the pong of pingpong
« Reply #1 on: October 24, 2013, 07:06:55 PM »
Set whatever you are using to trigger the tween to toggle, as in the button tween script.

maesla

  • Guest
Re: Rewind a tween or use the pong of pingpong
« Reply #2 on: October 25, 2013, 06:29:47 AM »
Set whatever you are using to trigger the tween to toggle, as in the button tween script.

Thank you for your answer but I do not get your point.

I think with that, you have not a rewind effect

Darkmax

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 1
  • Posts: 93
    • View Profile
Re: Rewind a tween or use the pong of pingpong
« Reply #3 on: October 25, 2013, 08:26:53 AM »
the tween scripts has a toggle method, this play the animation first forward and then if you called again it play the animation backwards, I think that what you need.