Closed cy920820 closed 2 weeks ago
To address the inconsistent display of the Nine Slice Game Object on different mobile devices, please check the following:
Ensure that the texture provided follows the layout structure specified in the changelog (/changelog/3.60/NineSliceGameObject.md
).
Verify that the dimensions for leftWidth
, rightWidth
, topHeight
, and bottomHeight
are correctly set and consistent across devices.
Confirm that the minimum width and height constraints (leftWidth + rightWidth
and topHeight + bottomHeight
) are respected.
Since this feature is WebGL only, ensure that the WebGL context is properly initialized on all devices.
Refer to the detailed documentation in the changelog for further guidance.
/changelog/3.60/NineSliceGameObject.md
Hi @cy920820.
It would be good if you could always include a link to a live example for us to check OR a complete test code like what you see in the labs (https://labs.phaser.io/) whenever you post an issue.
You can use our existing nine-slice examples here for reference.
This would help us tremendously so we will not need to recreate your test code or go through our existing examples to figure out the problem you are facing.
Version
Description
Using Nineslice to render a rounded background image, it was found that each terminal has differences in the rounded display
Example Test Code
Additional Information