Libgdx Texture Packer [NEW]

Libgdx Texture Packer [NEW]

: Drag and drop your image folder, choose an output directory, and click "Pack Textures".

You can actually run the packer inside your game code while the game is launching. This is incredibly useful during development because you can just drop new images into your raw assets folder, and the game will automatically repack them on the next launch. libgdx texture packer

You no longer load images using new Texture("player.png") . You rely on the Atlas to find your regions. : Drag and drop your image folder, choose

@Override public void create() // Only run this during development! TexturePacker.Settings settings = new TexturePacker.Settings(); settings.maxWidth = 2048; settings.maxHeight = 2048; choose an output directory

// (input directory, output directory, atlas file name) TexturePacker.process(settings, "raw-assets/player", "android/assets/", "player");

Complementary Content
${loading}