Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

simplymuzik3

macrumors 6502a
Original poster
Jan 29, 2009
590
1
I am in the process of developing a game, and I cannot figure out how to get objects to duplicate, when the player taps on them. I cant even figure out how to make the *touch* function only applicable to a certain object. I have it working where the object dissappears, but it works no matter where you touch it. I would like to make it only dissappear if you touch the object directly. As for the duplicating, I need help with a line of code the duplicates an object and places it in a random position within the view. Can someone please help me. Thanks. :)
 

simplymuzik3

macrumors 6502a
Original poster
Jan 29, 2009
590
1
Does anyone know how to do this? I really need help with this because I just started programming. Thanks.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.