PDA

View Full Version : Easy Way to Duplicate Objects?




simplymuzik3
Mar 7, 2009, 04:09 PM
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
Mar 9, 2009, 05:42 PM
Does anyone know how to do this? I really need help with this because I just started programming. Thanks.

dejo
Mar 9, 2009, 08:18 PM
I really need help with this because I just started programming.
Maybe you should learn the basics of programming first then before tackling technical issues such as these.