So I just created a game that would read from a matrix of sprites which will be the background. Each element of the matrix corresponds to a tile(an image) of the background.
My concern is that this looks way too inefficent, since i have to read+draw all the elements of the matrix every single frame(iteration of the game loop) when this background doesn't even get modified at all.
Is this fine? Should i photoshop every background into a single image? Is there a way to partialy clear the window instead of completely clearing it? Any other solutions?
Thanks in advance. I've been using sfml for a week, please bare with me