PDA

View Full Version : How do you get a ball to follow touch/swipes


skimmer221
03-03-2009, 05:09 PM
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?

Schenk Studios
03-03-2009, 05:19 PM
Tutorial 12 (http://www.schenkstudios.com/Downloads.html#Tutorial%2012) has some code that detects taps and swipes. That would be a good starting place.