Locating and adding the art assets

Follow these steps to add these new art assets to the texture atlases in our Assets.xcassets file:

  1. In Xcode, open the Assets.xcassets file and locate the texture atlases you have created. You should already have folders for Enemies, Environment, and Pierre.
  2. Locate the Enemies folder in the downloadable asset bundle. You should see art for all of the enemies, including the Bat, the Blade, the Mad Fly, and the Bee.
  3. We can skip the Bee art since we already added it to our project. Excluding the Bee, drag the rest of the asset files into the Enemies texture atlas in Xcode. You should be dragging 12 files into Xcode (two animation images per enemy, each with two resolutions). When you are done, your Enemies texture atlas ...

Get Swift Game Development - Third Edition 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.