How to create a smooth card flipping effect using just a couple of tweens.

Article by Richard Davey. Posted on 20th Sep 2017.   @photonstorm

image

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."

Read More