Hi everyone!
I want to know if there is a way to wrap bitmaptext in a defined width. Unfortunately, I’ve searched and tried many different solution with any success and I saw that old phaser 2 maxWidth has been deprecated.
Thanks!
Hi everyone!
I want to know if there is a way to wrap bitmaptext in a defined width. Unfortunately, I’ve searched and tried many different solution with any success and I saw that old phaser 2 maxWidth has been deprecated.
Thanks!
Sorry, but the link doesn’t work
Thanks for the help, but in the example it’s used text instead of bitmapText.
In my case, I need to wrap this:
this.popupTxt = this.configScene.add.bitmapText(-this.popupBackgroundTop.width / 2 + 210, this.popupBackgroundTop.height-165, ‘frutiger’, this.txtPopup, 19, 0).setCenterAlign().setOrigin(0.5, 0)