How to flip a sprite in Phaser 3
For a long time I was using this.sprite.scaleX=-1 like I learned to do in ActionScript 3. The trouble is, if you have scaled your sprite, you need to do a little more maths. The flipX and flipY make everything much cleaner and much easier to flip a sprite in Phaser 3
How to flip a sprite in Phaser 3 Read More »