andrewo's Forum Posts

  • Hi all,

    I have items falling on screen, and when you tap on them you get -1 from your 'hit count'

    if you miss them and tap the background you also get -1 from your 'hit count'

    I have Touch Event setup for On Touch - ObjectA, and another for On Touch - Object B(background)

    When I tap on the background object there is no issue, but when I tap on the falling object, it registers the tap on both the object.

    These are on different layers if that makes a difference.

    I was trying to find a way to basically to do;

    Touch - If object = ObjectA then this, else this. But cant seem to find these conditions?

    Is there a smarter way I should be setting this up?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks for the replies, will check out the UID stuff sounds like the way to go!

    You are not using the good condition :

    It's not on click, it's on object clicked you should be using.

    Something like this :

    Mouse => on object clicked => parachute => parachute destroy

    Only the clicked parachute will be destroy.

    if you use :

    Mouse => on click => parachute destroy

    it will of course destroy all parachutes

    I am using on click - parachute, but it doesn't identify them as unique currently.

  • Urgh, so I am a new user and cant post URLS yet so hopefully this is clear enough.

    I am using 'Create Object' to spawn 2 objects, a Parachute & an Item attached to the Parachute with Pin.

    When I click on the Parachute it gets destroyed and drops the item to the ground.

    This all works perfectly.

    BUT

    I have it so that every 3 seconds a new Parachute/Item object set gets created.

    when I have multiple of these on screen at once, and I click on one of them ALL of them drop the item & get destroyed.

    Is there a correct way I should be doing this so they all act independently of each other, whilst still using the On Click action?