Hello awesome Phaser community,
I’m attempting to loop through an array and create some sprites. Then, I crop the sprite using “setCrop” and add it to a render texture. This one render texture contains all the sprites in the loop.
When I crop the image, the image does not appear cropped in the render texture. However, if I apply the crop to the render and update the x,y coordinates the image will crop.
I’m essentially looking for a sanity check here. Will a cropped sprite (or image, etc.) remain cropped when drawn to a RenderTexture?
If it’s possible then I would love to see an example, preferably one that draws the same sprite with cropped rectangles over each other (as that is what I’m trying to achieve).
Thank you!