Hi, Im trying to create a simple UI system, and Im stumped on how to ‘clip’ text within a button bounds
I have
Container
ButtonBack (scene.add.sprite)
Text (scene.add.text)
Ive found nothing that seems to suggest its possible.
The only hope was text.setCrop( 0, 0, w, h );
While this seems to, ‘clip’ the text, but totally changes the position away from the button.
Note. I have only looked into applying the clip on the text, not on the parent container
(I am exp. developer, learning JS/Phaser)