Animating Tiles
In the Project Navigator, select the Assets.xcassets asset catalog and create another new sprite atlas. Name this one tiles_animated and remove the empty Sprite image set.
Open Finder and drag all of the image assets from the resources/tiles_animated folder into the tiles_animated atlas. When you’re done, you’ll end up with something like this:
Switch to the MainTileSet.sks file—you’re about to add another Center variant.
Expand the Dungeon Tile Set and then the Dungeon Floor. Select the Center tile (it may already be selected from when you added the center_alt variant).
Open the Media Library and drag the fire_0 image asset ...
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.