★ TouchArcade needs your help. Click here to support us on Patreon.

How do you get a ball to follow touch/swipes

03-03-2009, 06:09 PM
#1
Joined: Jan 2009
Posts: 13
How do you get a ball to follow touch/swipes

I'm working on a basic app so i can get the basics of xcode down. I want a ball to follow the lateral movement of a finger and also slowly fall. Any suggestions or sample code?
03-03-2009, 06:19 PM
#2
Tutorial 12 has some code that detects taps and swipes. That would be a good starting place.