This question might seem silly, but is there a way to set the width of a certain sprite relative to display.contentWidth.
Let’s say I want my sprite width do be equal to display.contentWidth / 3:
- Setting the relative width in the sprite sheet wouldn’t work.
- Setting the width parameter of the sprite works until the spite start animating. I end up with a cropped (or smaller) image, not filling the desired width.
Can this be done in any way? If not can you suggest another way of animating an image with relative widths?
Thanks