Hi,
I can set the size (width/height) of a SpriteComponent with a tiled texture in the editor, see screenshot bellow:
But those properties are not copied when cloning the component. I have to manually set width
and height
on the SpriteComponent because they are reset to 1 on the cloned component.
Also the documentation does not talk about those properties at all: SpriteComponent | PlayCanvas API Reference
But my main issue here is that on some Android devices (Galaxy S9, Android 9), the sprite does not repeat correctly, specially when zooming and moving the camera, the upper part of the sprite moves faster:
Android:
Chrome Windows: