Search code examples
javaandroidlibgdx

libGDX create an atlas out of a folder of images


I am following a tutorial at Game from Scratch

I am confused at the following:

java -cp gdx.jar;extensions/gdx-tools/gdx-tools.jar com.badlogic.gdx.tools.imagepacker.TexturePacker2 c:\tmp c:\tmp spritesheet tmp

I have a required folder with images how do I convert it into an atlas?

This question might sound feeble, I am just a beginner. Any help would be great :)


Solution

  • Try the GUI version of texturepacker, its quite simple to use.

    https://code.google.com/p/libgdx-texturepacker-gui/

    Hope this helps.