I've been working on a universal game with SpriteKit, and I have my images in .gif I have the normal definition the @2x and the @3x, I need to know how to create an atlas and how to change between atlases when the device is bigger or smaller and which of the definitions (@2x, @3x) is for what device
Asked
Active
Viewed 68 times
1 Answers
2
Xcode will automatically create an atlas for you. Use the Images.xcassets to store your images at @1x, @2x & @3x. Xcode will auto pick the appropriate image resolution for you.
You need to read Apple's Asset Catalogs docs.

sangony
- 11,636
- 4
- 39
- 55
-
@reojased- Cassettes ? – sangony Aug 17 '15 at 12:26
-
yes I've tried it but apparently it does not accept them – reojased Aug 17 '15 at 15:42
-
@reojased- I believe PNG is the default format for this but you can take a look at this post if you prefer to keep it in GIF. http://stackoverflow.com/questions/19462747/how-to-add-gif-images-to-asset-catalog-in-xcode5 – sangony Aug 17 '15 at 15:57
-
thank you, finally a good answer, that solves my problems with images.xcassets – reojased Aug 17 '15 at 21:54