I had trouble with the file that Will posted, so I just went through the first stages of the BIT-101 tutorial. I replaced the ball's constant motion with random x and y values. When the user touches the screen the ball's random location is reduced to a 20x20 area around the touched area.
Here is a .zip of the project: Download file
I initially tried to grab values from an XML file, but it just wasn't panning out. If anybody has any good tutorials/resources, it would be much appreciated.
Comments (1)
Hey Logan -- what were the problems you encountered with the file? You might want to check out a NSXML wrapper class like: http://code.google.com/p/touchcode/wiki/TouchXML or something to get around the crazy pain of doing all that stuff manually.
Posted by Will | March 19, 2009 1:39 PM
Posted on March 19, 2009 13:39