The Drag and Match engine gets updated for Phaser 2.6 in the first part of this new tutorial series.

Article by Richard Davey. Posted on 7th Mar 2017.   @phaser_


Emanuele Feronato has taken another one of his older games, and updated it for Phaser 2.6.2. This time the game is his Drag and Match game engine:

  • A mask has been added to hide tiles outside the game field, this is very important to grant the effect of a tile disappearing from a side of the board and appearing to the other side.

  • A lot of custom options have been added, inside gameOptions global object. You can change several things such as tile size, board size and offset, as well as the number of different colors on the board

  • All the code which handles something which moves – basically the tiles – has been placed inside update method which Phaser runs at each frame, to prevent strange flickering which appears in latest Phaser versions when you move sprites outside update method.

Read More