So, I'm trying to create a pinging type effect in my game, basically I want a circle to show up in location, and get bigger. My issue is that as the circle gets bigger, so does the lineWidth of the circle (though, the actual line width value in phaser is remaining the same.
circle = this.game.add.graphics(100,100);
circle.lineStyle(2, 0xffff00);
var ping = circle.drawCircle(0, 0, 10);
ping.anchor.set(0.5, 0.5);
var circleTween = this.game.add.tween(ping)
.to({height: 300, width: 300}, 1000, Phaser.Easing.Linear.None, true, 0, 0);
Any thoughts as to how to keep the lineWidth an actual 2 pixels, rather than growing relative to the size of the circle?