Multiple Instances Of Same Object Acting As If They Are The Same Object

Discussion in 'How Can I...?' started by roaring_sky_sharks, Jan 11, 2020.

  1. roaring_sky_sharks

    roaring_sky_sharks Boxer

    Joined:
    Feb 18, 2016
    Messages:
    4
    Likes Received:
    3
    I'm doing a puzzle game where there are lots of various kinds of objects (eg maybe 20 identical circles and 30 identical squares etc) where you click on each one, it adds to the score and it disappears. But when I click/tap on one object, all of that type disappear (the score is correct for the number of objects on the screen).

    I know this is a super noob question, but I just can't figure out how to have the instances act separately. I've looked at manuals and videos first, but not finding what I want. I've tried both having multiple objects in the Asset Panel, and multiple instances of the one object, and the behaviour is the same.

    Any help appreciated!
     
    Last edited: Jan 11, 2020
    eswar likes this.
  2. Hanomax

    Hanomax Avid Boxer

    Joined:
    Aug 24, 2018
    Messages:
    157
    Likes Received:
    85
    Try "Is Touched" node instead of "Touch" node.
     
    roaring_sky_sharks likes this.
  3. roaring_sky_sharks

    roaring_sky_sharks Boxer

    Joined:
    Feb 18, 2016
    Messages:
    4
    Likes Received:
    3
    Thanks. Am trying that now.
     
    eswar likes this.
  4. roaring_sky_sharks

    roaring_sky_sharks Boxer

    Joined:
    Feb 18, 2016
    Messages:
    4
    Likes Received:
    3
    OK - after a bit of playing around and starting from scratch, "Is Touched" did the trick! Thank you very much!
     
    eswar likes this.

Share This Page