How do I Pick object by overlapping and by distance between two sames objects ?

0 favourites
  • 2 posts
From the Asset Store
This is a Dungeon Master tool & the 1st of 12 Combat Engines from the Building Combat Engines for Browser Games workshop
  • Hello everyone,

    I try to make puzzle game like match 3 but more simpler.

    I make this simple script, but when I launch it every green block destroyed.

    I want to destroy green block if it's touching same more than 3 time, and only this specific block.

    I try to do this with invisible object and say is overlapping this area. It's work but I have to put this area everywhere.

    I try to do whit distance between two block but he did'nt work.

    I don't know if my question is understandable, but I just want to destroy green block if if he hits more than three blocks.

    Thanks for helping me !

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The most common solution is to use a family. Add Vert object to a family and then you will be able to use conditions like "Vert Overlapping VertFamily" and reference both instances separately in the same event.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)