I've been developing an action puzzle game like Puyo Puyo.
I was coding it until I approached a problem, which is detecting when the same colored objects are together.
If you know Puyo Puyo, then you should know that when 4 or more same colored Puyos stick together they pop and delete themselves.
I've tried arrays with collision boxes that are rotated 45 degrees (So it looks like a diamond) that checks if the neighboring objects are the same color.
I've coded it that way but it simply didn't work.
It would be nice of anyone if they can explain to me on how I should code in a way for the same color detection to work properly.
[href=https://www.youtube.com/watch?v=Gq0U-ml1HS4]
Here's a video showing how Puyo Puyo works.[/href]
I love games, who doesn't?