gcardozo Posted July 10, 2017 Share Posted July 10, 2017 I'm trying to crop a Phaser.Text, so I can make something similar to the As3 TextField class (where your text is inside of a mask). But the crop method is not working, here is what I did: this.pText = new Phaser.Text(this.game, 0, 0, text, style); this.pText.crop(new Phaser.Rectangle(0, 0, 20, 20), true); this.pText.updateCrop(); Link to comment Share on other sites More sharing options...
Recommended Posts