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

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 ...

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