« CTIN 405 - news aggregator | Main | CTIN 405 - Wranglers »

CTIN 405 - iPhone sketch

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)

Will:

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.

Post a comment

About

This page contains a single entry from the blog posted on March 18, 2009 11:20 PM.

The previous post in this blog was CTIN 405 - news aggregator.

The next post in this blog is CTIN 405 - Wranglers.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.31