I read that when I add images into the xcassets file, if they are grouped SpriteKit will combine them into atlas structures.
Currently I'm creating atlas folders with internal folders on my Mac, then I drag and drop this folder into my project's folder structure, then I'm dragging that folder from the projects folder structure into the xcassets file.
Break down of atlas folder:
example.atlas (folder)
-> ex_0 (folder)
--> ex_0.png
--> ex_0@2x.png
--> ex_0@3x.png
-> ex_1 (folder)
... and so on...
Is this correct? Should I create the subfolders, or should all images be in the atlas folder? Do I need to put the atlas into the xcassets file?
Lastly, say that these images are tiles, and I will have multiple different tiles, say example2,atlas, example3.atlas, etc. If I plan to use all these tiles at the same time, should I combine them into 1 big atlas folder?
thanks for any help, I understand that there are multiple ways to do things. I guess I'm looking for the most efficient way to increase performance in my apps. The answer may depend on certain things. So if you could explain the far left and right's of this situation, I can use common sense to figure out what to do when my situation is somewhere in the middle.