makalu

Members
  • Content Count

    3
  • Joined

  • Last visited

  1. Just figured it out, using scaleX and scaleY... this.scene.tweens.add({ targets : [ this ], scaleX: 10, scaleY: 10, ease : 'Linear', duration : duration, yoyo : false, repeat : 0, callbackScope : this });
  2. In Phaser 2 we could tween scale like in the topic linked below. How is this done in Phaser 3? It looks like the sprite Scale property has changed to scaleX and scaleY, which I thought maybe I could tween like this, but this didn't seem to work: this.scene.tweens.add({ targets : [ this.scaleX, this.scaleY ], x: 10, y: 10, ease : 'Linear', duration : duration, yoyo : false, repeat : 0, callbackScope : this });
  3. Hi, Does anyone have an example of using the HueRotate filter on a sprite? My hero sprite has a child sprite animation of a shirt that I'd like to change its color, would a HueRotate be able to change its color? Thanks!