Texturepacker Libgdx |link| Official

// Load the texture atlas TextureAtlas atlas = new TextureAtlas("character.atlas");

Run this every time you change your art. Put it in a Gradle task so you never forget. texturepacker libgdx

Inside your LibGDX project (usually in your core module or a standalone desktop launcher), write a small one-off packing script. // Load the texture atlas TextureAtlas atlas =

I’ve seen prototype LibGDX games run at 25 FPS. After packing the UI and sprites into 2 atlases, they jumped to 60 FPS instantly. texturepacker libgdx

LibGDX has a built-in debugger for atlases. Render this to see if your packing is efficient (red = empty space):

System.out.println("Packing complete!");