Incorporating a Texture Atlas in Your Project

Incorporate your Sprite Kit art resources into a texture atlas to improve your app’s performance.

To add a texture atlas to your project
  1. Place all of your app’s art into a single folder.

  2. Name the folder name.atlas.

  3. Choose File > Add Files to AppName.

  4. In the Editor area, select your project and click Build Settings.

  5. Type Sprite in the search field, and press Return.

  6. Set Enable Texture Atlas Generation to Yes.


After adding a texture atlas to your project, you continue to access your images in the same way. No changes in your code are required. The compiler knows how to access your images through a property list generated during build time.