문제

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?

도움이 되었습니까?

해결책

Have you already had a look at TexturePacker?

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top