Easy Way to Duplicate Objects?

Discussion in 'iOS Programming' started by simplymuzik3, Mar 7, 2009.

  1. simplymuzik3 macrumors 6502a

    Jan 29, 2009
    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. :)
  2. simplymuzik3 thread starter macrumors 6502a

    Jan 29, 2009
    Does anyone know how to do this? I really need help with this because I just started programming. Thanks.
  3. dejo Moderator


    Staff Member

    Sep 2, 2004
    The Centennial State
    Maybe you should learn the basics of programming first then before tackling technical issues such as these.

Share This Page