Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
knalle

throw (flick) examples?

Recommended Posts

Sorry, I haven't created anything like this with JS.

Our ThrowPropsPlugin will be available sometime soon which would help quite a bit.

 

Also, its important to note that Lee isn't creating a tween. He is running a loop that is constantly capturing the velocity of the drag. When the drag stops his loop is just diminishing that velocity each frame with vx *= 0.95;

 

 

With ThrowProps, you will be able to create a tween that will have a predetermined duration and end values. This tween can be paused, restarted, reversed, inserted into a sequence (timeline) and have callbacks applied among other things.

 

You can read more about ThrowPropsPlugin here: http://www.greensock.com/throwprops/

 

Stay tuned (facebook / twitter) for more info on the release of this plugin for Javascript.

 

As for touch libraries, sorry I really don't know enough about them to recommend one.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×