Help - Menus slide in from offscreen to an elasticated stop!
JCFord
Member Posts: 785
For my new app I'm trying to have my menu buttons slide in from off screen and once they reach there correct position to move backwards and forwards (like on elastic) to a gradual stop - if that makes sense!
But everything I'm trying is not working, I think I am over complicating it!
Any advice
JCFord
But everything I'm trying is not working, I think I am over complicating it!
Any advice
JCFord
Comments
I accomplished it with Interpolate and Timers, brute-force style.
i.e:
Interpolate slide right for 2 seconds
Timer: After 2 seconds
-----Interpolate slide left 5 pixels for 0.2 seconds
Timer: After 2.2 seconds
-----Interpolate slide right 5 pixels for 0.1 seconds
Stuff like that.
Works well, but is tedious of course.
Hopefully they will add in some more easing functions, like elastic and bounce.
You could also try to monkey around with my elasticity demo, but that is probably overkill.
Okay, as always thanks for your help
JCFord