Match3 class handles everything happening under the hood and tells the framework how to move items on the screen, so you only need to manage input and animations.
I already built a Bejeweled and a Turnellio prototype using the class, so today I extended it a bit to manage Drag and Match games.
Drag and Match games are a little more complex to handle than Match3 games because you move an entire row or an entire column each time, but thanks to my class, I reduced the number of lines from almost 500 of the original prototype to about 250."
The first book on the creation of HTML5 cross platform games using Phaser 3 and other free software.
- By Emanuele Feronato
- 155 Pages
- 28 Source Code Examples
- Build a complete game from start to finish
- Cross Platform
- Scaling for devices