Jump to content
Search Community

ombilic

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by ombilic

  1. As I am coming from other tweening libraries that have the easing functions as properties of the tween object, the problem turned out to be the fact that i did not iclude the easings pack. Now all your examples work Diaco. Thanks! One more question though. Isn't this solution against Javascript ethics. Having so many vars doesn't "pollute" the global namespace? Why did you guys choose this way and not something like this: endPos.ease = TweenLite.Easings.Bounce.easeIn; Sorry if I am beeing too curios.
  2. Lets say I have this setup: startPos = [0, 0, 0] endPos = [1, 2, 3] How can i specify an easing function for this tween? TweenLite.to(startPos, 1, endPos) Doing endPos.ease = someEase before the tween call results in someEase undefined as expected. tl;dr: Where are the easing functions in this library, TweenLite.path.to.easings?
×
×
  • Create New...