O'Reilly logo

Learn iOS 8 App Development, Second Edition by James Bucanek

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

Chapter    14

Game On!

Games are a big deal. I’m uncomfortable confessing exactly how many hours I’ve spent capturing enemy suns or dodging zombies, but let’s just say that iOS games can be both engaging and addictive. While this book isn’t about game development—there are some great books on the subject—I would like to give you a little taste of how games are created in iOS. In this chapter, you’ll learn the following:

  • How to create a simple iOS game based on SpriteKit
  • How to design a SpriteKit scene
  • How to make scene transitions
  • How to add image and text content to your scenes
  • How to write responder functions to provide user interaction
  • How to define the physical behavior of nodes
  • How to create physical relationships between nodes using attachments ...

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