Hello guys, I am designing a ground. It contains 2 parts. tk2dSlicedSprite for the background and tk2DTiledSprite for the texture of the ground.
The background is a simple one colored image but texture has design on it and will be repeated depending upon the length of the ground.
What I want is that texture (tk2DTiledSprite) gets masked outside the bounds of the background (tk2DSlicedSprite). In short, how much I increase the size of the texture it never exceeds the bounds of background. How can I do this? Thank you