phaser-percent-bar
phaser-percent-bar copied to clipboard
Scaling bugs
Replicate:
const x = this.game.add.sprite(0, 0, 'white-square')
x.width = 2
this.game.add.existing(new PercentBar({
host: x,
width: 20
// etc...
})
Scaling doesn't work as expected - should have option to work independently of host scale