Apkko Posted March 10, 2018 Share Posted March 10, 2018 I'm trying to crop the finished text using the crop function but nothing happens, someone has encountered a similar problem, version 2.10 Link to comment Share on other sites More sharing options...
samme Posted March 11, 2018 Share Posted March 11, 2018 Example? Link to comment Share on other sites More sharing options...
Apkko Posted March 11, 2018 Author Share Posted March 11, 2018 this.journal.text = game.add.text(x,y, this.journal.textString, { font: ""+(gameSettings.journal_chat_block.hP*5)+"px Arial", fill: "#000000", align: "left",maxLines: 15,wordWrap: true, wordWrapWidth: w}, this.groupArray['journal']); var cropRect = new Phaser.Rectangle(0,0,100,100); this.journal.text.crop(cropRect); Link to comment Share on other sites More sharing options...
Recommended Posts