Libgdx Texture Packer High Quality -

Write a simple Java class or Gradle task to run the packer:

// 3. Or get an animated region Animation<TextureRegion> walkAnimation = new Animation<>(0.1f, atlas.findRegions("player_walk"), Animation.PlayMode.LOOP); libgdx texture packer

// Don't forget to dispose! atlas.dispose(); The texture packer uses your folder structure to create region names. Write a simple Java class or Gradle task

Run this main method every time you change your assets. Once you have player.atlas and player.png in your assets folder, load and use them: walkAnimation = new Animation&lt