image

Emanuele Feronato writes: "In “Bricks” the aim of the game is simple, as you can expect from any game developed by Ketchapp. You have to match bricks of the same color to clear lines and prevent them to reach the top of the screen.

To clear lines, simply tap the column whose top brick matches the color of the lone brick. How long will you resist?

It might seem the classic tile based game, and actually it is, but I wanted to try a different approach not relying on any array to check for matches, and using massively overlapRect method instead.

This method will search the given rectangular area and return an array of all physics bodies that overlap with it. Exactly what we need."

Read More