开发者

How to move the arrow by dragging and then after that to toss/throw it?

In my application I have one arrow image with fix center and I can rotat开发者_StackOverflow社区e it by the touch move method on the same center.

But I also need to toss/throw the arrow after doing some rotation with touch move. How can I toss the arrow?


http://www.edumobile.org/iphone/iphone-programming-tutorials/how-to-use-gestures-in-iphone-application/

You can refer to this for some basic events like swiping or touching.

For Physics engine, I suppose you can refer to this : http://code.google.com/p/chipmunk-physics/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜