I have a sneaky feeling that there's an example for this somewhere and I've just missed it. Apologies if that's the case. This is what I'd like to do:
Create some bitmap text:
this.levelText = this.game.add.bitmapText(0, t_sb_y+70, 'myfont', '', 18);
this.add(this.levelText);
this.levelText.setText(Globals['level'].toString());
And turn it into a Phaser Button.
Or, just detect when it's been clicked on ....
Any suggestions anyone?
Thanks,
R