Chapter    8

Transitioning Between Scenes

In the previous chapter, you saw how to use SKLabelNodes to add labels to your Sprite Kit games. Specifically, you saw how to display the remaining number of impulses and how to add scoring to the game to keep up with the number of orbs the SuperSpaceMan has collected. At the end of the chapter, you got a chance to revisit SKActions when you added sound to the game.

In this chapter, you will learn how to implement scene transitions using Sprite Kit’s SKTransition class. You will get a look at some of the different types of built-in transitions Sprite Kit makes available to you. You will also see how you can control each scene during a transition. At the end of the chapter, you will take your newfound ...

Get Beginning Swift Games Development for iOS 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.