I have an image, the game map.
I have to use different part of the map as the player moves. And my idea is to use texture that would contain different part of the image.
But, since I'm new to sfml, I don't know how to set the texture to a certain part of the image and how to change the viewed part later on.
So, any ideas?
I know I can just set TextureRect for each element, but I don't want that.