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
Post a Comment