iosxcodesprite-kitretina-display

How to generate 2x 3x images for atlas?


I have several animations, each one is about ~50 frames. When I'm adding atlas, it adds 1x only.

So, is there an easy way to batch generate 2x & 3x images, and add them to the project?

I've found the tools for 2x/3x images generation, but it would be really annoying to add every of ~200 frames (summary 400 with all variants) to project manually…


Solution

  • You can see the image size of 1X/2X/3X in this URL. https://developer.apple.com/library/ios/qa/qa1686/_index.html

    Note: A image (2X or 3X) you want, you can drag a image(1X, 2X or 3X) you want and drop into a suitable place (1X, 2X OR 3X).

    I hope that helps.