jake.caron Posted September 27, 2018 Share Posted September 27, 2018 Hi All, I am trying to add word-wrap to my bitmap text and have tried the following, but to no avail: this.questionText = this.scene.make.bitmapText({font: 'Nasalization', size: 30, align: 1, wordWrap:{ width: 450, useAdvancedWrap: true }}); This is dynamic text, so I am unable to tailor it with breaks. Thanks, Jake Link to comment Share on other sites More sharing options...
kreso Posted May 23, 2022 Share Posted May 23, 2022 Bitmap text has maxWidth property used for wrapping words. https://photonstorm.github.io/phaser3-docs/Phaser.GameObjects.BitmapText.html#maxWidth Link to comment Share on other sites More sharing options...
Recommended Posts