I see Phaser.Image.scale property is of type Pixi.Point which is logical. But this means I would need to include separately Pixi.js for this to work.
I need something like:
earth.scale = new Pixi.Point(0.2, 0.2);
but this doesn’t work as I haven’t included Pixi.js.
Do i need to include it, or there is a better way to scale down a Phaser.Image on both X and Y axis?