SFML community forums
Help => Graphics => Topic started by: thepotatoking on February 08, 2019, 06:59:33 pm
-
I'm making a top-down 2D game. If I understand it correctly, it's more efficient to have larger textures/sprites because performance scales with the number of draw() calls. Currently I'm working with the background images, i.e. the maps that they're running around on. I haven't been able to find a clear explanation of this, but it sounds like different graphics cards have different maximum sprite sizes they can handle. What's a safe maximum sprite size? 2048x2048? 4096x4096?
-
https://www.sfml-dev.org/documentation/2.5.1/classsf_1_1Texture.php#a0bf905d487b104b758549c2e9e20a3fb