How To Animate a sliding of a circle on touchesMoved.
Hi
I have a circle drawn as a view object using core graphics Frame work, on the touch of the circle i can move the circle . but My task is to slide the circle ,like when u drag the circle with certain speed then the circle should move(slide) and stop at any farther point.
I now i need to calculate the speed , distance moved and the destination point . but not clear how to do it. if any one have any similar example will be helpful. or any notes or guidance
I have to flick the circle in any direction and the circle should move and stop any where on the screen depending on the speed.
I have a circle drawn as a view object using core graphics Frame work, on the touch of the circle i can move the circle . but My task is to slide the circle ,like when u drag the circle with certain speed then the circle should move(slide) and stop at any farther point.
I now i need to calculate the speed , distance moved and the destination point . but not clear how to do it. if any one have any similar example will be helpful. or any notes or guidance
I have to flick the circle in any direction and the circle should move and stop any where on the screen depending on the speed.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Sliding Puzzle Game - Suggessions | murad357 | 4 | 2,151 |
Jan 11, 2013 11:36 AM Last Post: JustinFic |
|
| How to animate transition from current position? | jeonghyunhan | 0 | 2,166 |
Apr 12, 2009 08:50 PM Last Post: jeonghyunhan |
|

