Centrum tekstowe Phaser2
var style = { font: "bold 32px Arial", fill: "#fff", boundsAlignH: "center", boundsAlignV: "middle" };
// The Text is positioned at 0, 100
text = game.add.text(0, 0, "phaser 2.4 text bounds", style);
Himanshu Jangid