6. Cannon Game App

Xcode Game Template, SpriteKit, Animation, Graphics, Sound, Physics, Collision Detection, Scene Transitions, Listening for Touches

Image

Objectives

In this chapter you’ll:

Image Use the SpriteKit framework and the Xcode Game template to create a simple game that’s easy to code and fun to play.

Image Create custom SKScene subclasses for displaying the game scene and the game-over scene.

Create the game’s graphical elements using SKNodes, SKTextNodes ...

Get iOS 8 for Programmers: An App-Driven Approach with Swift, 3rd Edition 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.