How to create a smooth card flipping effect using just a couple of tweens.
Emanuele Feronato presents a tutorial on creating a smooth card flipping effect: "If you plan to create card games, it will come a time when you have to show covered cards, showing their backs, and then you need to flip them showing their value.
Normally, with a 3D engine it would be really an easy task, as it’s just a primitive which flips along one of its axis.
What to do when we aren’t using a 3D engine? We can fake the flip movement using a couple of Phaser tweens."
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