O'Reilly logo

iOS 9 Game Development Essentials by Chuck Gaffney

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

Creating our SpriteKit game

Now that we know the goal of our game, here's how we go about building it in SpriteKit:

  1. First, open Xcode and create a new project.
  2. Now select the Game template and click on Next.
    Creating our SpriteKit game
  3. Next, fill in the product name. We will name this project SwiftSweeperExample and make sure that the language is Swift with SpriteKit selected as the game technology as well as the devices set to iPhone.
    Creating our SpriteKit game
  4. Then, click on Next, and we now have a brand new SpriteKit game project with a number of files already written up for us to get us started.
  5. Now click ...

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