Author Topic: SpringPanel easing functions  (Read 3124 times)

badawe

  • Jr. Member
  • **
  • Thank You
  • -Given: 8
  • -Receive: 7
  • Posts: 70
    • View Profile
SpringPanel easing functions
« on: January 22, 2013, 02:27:32 PM »
There is some way we can get more easing functions on this?
Like linear easing or something like that?
What i really want, is something like these:
I Need to make a infinite sprint panel, like one carrousel, I already achieve this, but the easing ou function of Lerp is not exactly what I'm looking for.

Someone have some idea? 
« Last Edit: January 22, 2013, 02:32:31 PM by badawe »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: SpringPanel easing functions
« Reply #1 on: January 22, 2013, 09:05:38 PM »
NGUI 2.2.8 adds an ability to specify an animation curve on the tweens, letting you create any kind of motion you want.

badawe

  • Jr. Member
  • **
  • Thank You
  • -Given: 8
  • -Receive: 7
  • Posts: 70
    • View Profile
Re: SpringPanel easing functions
« Reply #2 on: January 23, 2013, 06:02:00 AM »
That will be amazing!

Any ETA on this version?!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: SpringPanel easing functions
« Reply #3 on: January 23, 2013, 08:42:12 AM »
Soon. Perhaps this weekend if I have time.

badawe

  • Jr. Member
  • **
  • Thank You
  • -Given: 8
  • -Receive: 7
  • Posts: 70
    • View Profile
Re: SpringPanel easing functions
« Reply #4 on: January 23, 2013, 11:23:35 AM »
I want the 3.0.0 version!

=D

hahaha I'll wait until the release =/

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: SpringPanel easing functions
« Reply #5 on: January 23, 2013, 12:10:23 PM »
I went over the list of changes and decided that it should be 2.3.0 instead of 2.2.8. Pro users already can play with it. List of changes can be found here:

http://www.tasharen.com/forum/index.php?topic=11.msg14406#msg14406

badawe

  • Jr. Member
  • **
  • Thank You
  • -Given: 8
  • -Receive: 7
  • Posts: 70
    • View Profile
Re: SpringPanel easing functions
« Reply #6 on: January 30, 2013, 11:12:08 AM »
Humm, maybe I'm missing something, but i can't found where i can set the easing parameter on SpringPanel.Begin!?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: SpringPanel easing functions
« Reply #7 on: January 30, 2013, 08:31:42 PM »
SpringPanel is not a tween. It's a spring. It only as the strength parameter which controls how strong the spring is.