oxxxo Posted May 1, 2015 Share Posted May 1, 2015 I been looking at examples on Buttons..and it seems that all of them are png images. I wanted to make a button that has a label using a bitmap font. How would I implement this? Link to comment Share on other sites More sharing options...
MichaelD Posted May 1, 2015 Share Posted May 1, 2015 Do you specifically want to use the button class? You could create a sprite and add bitmapText as a child then attach eventListeners. Link to comment Share on other sites More sharing options...
qdrj Posted May 1, 2015 Share Posted May 1, 2015 The easiest way will be using Phaser.Group which will be containing button image and text. Or you can render it to BitmapData and then use it as texture for your button. MichaelD 1 Link to comment Share on other sites More sharing options...
Recommended Posts