Add the Resources

Rather than have you jump in and out of Finder over the next few chapters, you’ll add all of the necessary resources for this part of the book, making things a little easier to follow.

First, below the Assets.xcassets catalog, create two more groups. Name one Music and the other Sounds.

In the Project Navigator, select the Assets.xcassets catalog and add four new sprite atlases (click the + button at the bottom of the Outline View and select New Sprite Atlas). Name these new atlases as follows:

  • collectibles
  • health
  • monster_goblin
  • monster_skeleton

Xcode 12 and Sprite Atlas Creation

images/aside-icons/important.png

In Xcode 12, the New Sprite Atlas option does not ...

Get Apple Game Frameworks and Technologies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.