I'm using Sprite Kit to develop a game. I want it to automatically use needed textures for iPhone, iPad, and large iPhone versions.
Let's imagine I have:
player01-568h.png - player-10-568h.png
player01@2x.png - player-10@2x.png
player01-ipad.png - player-10-ipad.png
player01-ipadhd.png - player-10-ipadhd.png
How do I store these?
Do I need separate atlas for each one?
Do I check for device each time I need to load atlas and load needed, or is there any automatic way?