Domanda

Currently, my sprite sheets are drawn in photoshop, exported as a .png, then manually divided into an xml file for the texture loader to process (string id, x, y, width, height.)

Is there a way to write a script to output spritesheet metadata instead of doing it by hand?

È stato utile?

Soluzione

Have you already had a look at TexturePacker?

Altri suggerimenti

It is possible to script Photoshop grabbing a folder of images and then place them into a sprite sheet and then kick out the sprite meta data. But texture packer already does the job you want.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top