animation - Moving Images In Swift -


I want to move an image from x, y to x, y and want to animate this step. I know how to change an X / Y coedidin during the period of time, how to do animate to walk in the swift. My question is how can I get a straight line distance between the two points and decide how the image How to adjust X and Y to move straight into the line? Or is there something in Swift that I can start it and finish coordination and it will take action for me?

see this


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

asp.net mvc - How to attach sql database to a javascript graph -

c# - How to know the number of Threads created and limit the Tasks accordingly -