The third part of the tutorial series adds in explosions and bombs.

Article by Richard Davey. Posted on 25th Aug 2016.   @phaser_


In the third part of the Hero Slide tutorial from Emanuele Feronato he adds in explosions when matching bombs: "Now I optimized a bit the code because it was a bit redundant, using an universal function to move the tiles rather than writing distinct code for each direction, and added the capability of removing tiles adjacent to a match when you match bombs. I used an array called detonations to save all tiles we will detonate – it could be more than one if you match more than two bombs."

Read More