Jump to content

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

Tween on same velocity

Recommended Posts



Im using this library in all my games and i want say that it is so good.


I want know now, if i can make a tween that it move on the same velocity, having the position to near or to far.




My bullet have to move from X(0) to X(100), but if my position change, it will move from X(50) to X(100) and i want that the movement have the same velocity, independent of the distance to move.


How i can do it?

Link to comment
Share on other sites

check out this thread here.


basically you have to figure out the duration based on distance prior to setting up the tween.



Link to comment
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.