Connect logic help

tufiretufire Member, PRO Posts: 17
I'm trying to make a game similar to bejewel. sort of

Im having issues trying to set up the logic for when at least 3 same colors touch, i can destroy by touching one of them.

I was gonna set up a global attribute where it counts when the same color collides it counts up how many is touching.
but this way gonna add up all the same colors on the screen that touch.

how can i set it up, so that it only counts the from the one i touch.

Comments

  • tufiretufire Member, PRO Posts: 17
    whoops i forgot to post that. im using balls and its not set up to where its perfect rows and columns. the balls drop and its collide shape is a circle.
    i dont think i can use tables with this.
Sign In or Register to comment.