Pregunta

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?

¿Fue útil?

Solución

Have you already had a look at TexturePacker?

Otros consejos

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top