Emanuele Feronato has published a new tutorial series on creating a SameGame engine in Phaser. This is part 2:
"If you enjoyed the HTML5 SameGame example I showed you last week, here is the second part with animations and a deeply commented source code.
Three different animations have been featured:
-
The fade-out animation when tiles are removed, using a tween on alpha property.
-
The animation of tiles falling down, using a tween on y property
-
The animation of tiles scrolling to the left, using a tween on x property with a bounce easing.
Adding animations made the game more polished, as you can see."