Iszard Posted March 4, 2016 Share Posted March 4, 2016 in 2.4.6 phaser there is an error with bitmapText lines 46318 - 46320 bitmapText: function (x, y, font, text, size, group) { if (group === undefined) { group = this.world; } return group.add(new Phaser.BitmapText(this.game, x, y, font, text, size)); }, It does not suppoer the 'align' param as documented. From the doc the following should be the correct code. bitmapText: function (x, y, font, text, size, align, group) { if (group === undefined) { group = this.world; } return group.add(new Phaser.BitmapText(this.game, x, y, font, text, size, align)); }, Link to comment Share on other sites More sharing options...
Recommended Posts