: Swapping textures is a slow OpenGL operation. Packing them into one file minimizes these swaps.
Enter the .
"input": "assets/", "output": "assets/textureatlas.atlas", "width": 2048, "height": 2048, "algorithm": "basic" libgdx texture packer
You can run the packer directly within a Java main method during development. : Swapping textures is a slow OpenGL operation
import com.badlogic.gdx.tools.texturepacker.TexturePacker; libgdx texture packer