Spritesheet performance

Hello,

performance issues :

I built a spritesheet with texturepacker (I have about 10 sprites 16, 32 and 256px)

It is better to have 3 separate spritesheets like

  • one with 16px images
  • one with 64px images
  • one with 256px images

Or only one with all the images (16,64 and 256px)

Is it better to let the default image sizes or reduce the size of the images in spritesheet and use scale (x2) to display into the game ?

Thanks,

The less texture memory you use, the faster the performance. One texture atlas requires one draw call, three would require 3 different draw calls. But most games won’t notice a difference until you have hundreds or very high resolution textures.

Never scale up unless you are using very simple assets (or vectors) as it will look terrible.

thanks SGS, it’s perfect !