O'Reilly logo

Build iOS Games with Sprite Kit by Josh Smith, Jonathan Penn

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Custom Scenes and Gesture Recognizers

A common way to tell the backstory of a game to players is with a cutscene—a pause in the gameplay to prepare players for the next task. Some games use videos or very complex productions to get the point across. For our streamlined game, we’re going to use a separate SKScene with scrolling text to tell players why their ship is traveling at breakneck speeds through space. Here’s the effect we’re going for. You might recognize it from an obscure 1970s sci-fi movie.

images/Menus/textcrawl.png
Figure 22. The opening Star Wars--style text crawl

To implement this, you’ll need to learn a lot more about how SKScene objects work and how to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required