Jump to content

BitmapText : unable to center text


Recommended Posts

Hi guys,

I create a bitmapText like this :

bmpText = game.add.bitmapText(0, 0, 'Appopaint', 'Hello', 64,'center');

btmpText.maxWidth = 1280;


The text size it's inferior to the maxWidth property so I expect the text to not be align at the left - but it's the case - I do not succeed to center my BitmapText. Is it possible ? How can I do that ?


Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...