SFML community forums
Help => Graphics => Topic started by: moistweb on June 06, 2014, 03:22:06 am
-
Hello folks,
I'm currently designing the Background class for Skywalk, and so I thought of a solution to achieve a good background management. This solution requires to append multiple loaded textures into one single sprites, but I just can't think of a solution, the only method relating textures to sprites that I know of is setTexture() ( and setTextureRect() of course). Can someone help me figure this thing out such that when I load a texture, I can add it to the end of the sprite ( i.e. without modifying previously added textures) ?
-
A sprite can't have multiple textures, but it's really easy to just use yet another sprite for it.
-
Okay, that's what I will be using I guess, thanks for the respond ^^