Connect logic help
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.
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
i dont think i can use tables with this.