Quote:
Originally Posted by MrGreatTutorials
Hey Im, Kristers and i need to make images fall from top to bottom in iPhone SDK and also collide! I saw your code but i cant understand it, can somebody please send me source code for this app that has got images falling from top to bottom and also collision working? PLEASE!
Thanks, Kristers
|
Hi Kristers,
Actually the code you posted is for detecting collision not creating the images and making them fall. I would read through this 2 page read as it has all of the information you could need about making images randomly fall from top to bottom. The code that you replied to again is when the 2 images collide than flakeCounter which is and NSTimer goes up 1 point. The next line of code in that would be an NSString which is tied to a label, so the user can see the points go up.