phaser3-nineslice
phaser3-nineslice copied to clipboard
Starting from phaser 3.17.0 - incorrect scaling
I downloaded the example code from this repository and tried it with different versions of phaser 3. And it seems that it's not working with the version 3.17.0 as you can see on this gif.
It seems like the left top corner texture is taking all the texture place. I looked through the changelog of 3.17.0 compared with 3.16.2 (where the plugin works). Tried undoing some of the changes, but haven't been able to find the cause.
And there are no errors in the console apart from these when the corners match
Attempted to set NineSlice size less than minimum
Still an issue on 3.18. I was pulling my (limited) hair out before I found this issue!
I ran into the same issue and created a pr (https://github.com/jdotrjs/phaser3-nineslice/pull/21) for at least the initial state. Scaling after that is still an issue. Seems the author of this repo is not very active.