Follow the Bouncing Ball

In this section, we’re going to experiment to build a ball and plunger and then extract the nodes for the plunger and pinball into their own special SKNode subclasses.

Building any kind of physics game is a bit of a challenge. If you picked up this book and jumped in right here, you might want to at least skim the previous chapters to understand Sprite Kit’s vocabulary first. You’ll be leaning on a lot of accumulated knowledge and accumulating more as you go.

Download the source code for the book by following the instructions back in How to Get the Most out of This Book. We’ll be starting with the Xcode project in 06-Physics/step01. This is similar to the project you created when you followed the instructions to ...

Get Build iOS Games with Sprite Kit 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.