- Editado
Exporting images and scaling them to different resolutions
"Exporting images and scaling them to different resolutions as well as creating sprite sheet like texture packer."
Hi,
I would like to know if you have a feature that will export a high resolution images like 2048×1536 or higher and scale all the images to other device resolutions with spritesheets for each of them?
Example:
I have a background that is 2048×1536 and I have a character scaled for that background. I would like to export the background and the character and have them scaled for the other device resolutions, please see list below.
• iPad 1/2: 1024x768px, 132 ppi
• iPad 3: 2048×1536, 264 ppi
• iPhone/iPod Touch: 320x480px, 163 ppi
• iPhone 4/iPod Touch: 960x640px, 326 ppi
• iPhone 5/iPod Touch: 1136×640, 326 ppi
Thank you,
JCP
Hi. I'm not an official Spine dude. I just frequent the forums for some reason.
Just a few clarifications.
(1) This is not a runtime topic.
(2) Do you mean you're planning to use Spine to export frame-by-frame sprite sheet assets instead of using Spine's skeleton animation code?
(3) Where is that quote from?
Not currently no. It could be a nice addition maybe, not sure if its trivial to implement. This is assuming you will be using Spine to export frame by frame sprite sheets.
I've moved the thread to the right place
Shiu escribióNot currently no. It could be a nice addition maybe, not sure if its trivial to implement. This is assuming you will be using Spine to export frame by frame sprite sheets.
I've moved the thread to the right place
The reason for this is to reduce time and effort for creating 5 different art assets, just have one high resolution images and tell spine what is the resolution you're targeting and it will scale all the images to that proportion in a sprite sheet for each resolution.
Like SpriteHelper (http://www.youtube.com/watch?feature=pl ... ndq0#at=71), you have one main art asset and depending on your selections it will produce a sprite sheet for the different resolutions.
Makes total sense, I use something similar when I export images from Photoshop with my script. I have an action for specific scales set and I just hit F5 to F8 for different export scales.
thank you for your reply, is it possible you could share your script?
I hope to add a feature to the texture packer so it can export a number of smaller atlases from a set of larger images. It may be some time though. At runtime you can scale the images when loading:
http://esotericsoftware.com/spine-using ... s/#scaling