Chapter 1 Creating Scenes with Sprites and Nodes

Apple Game Frameworks and Technologies — by Tammy Coron (19 / 193)

The Pragmatic Programmers
The Pragmatic Programmers

--

👈 Part 1 Build Your First Game with SpriteKit | TOC | Create the Project 👉

Now that you’ve decided to use SpriteKit, it’s time to create your first game, Gloop Drop. In this chapter, you’ll start with the basics:

  • Setting up the project
  • Working with the asset catalog
  • Adding the background and foreground sprite nodes

If you’re new to SpriteKit, this is the place to start. You’ll meet the basic building blocks of SpriteKit — like sprites and nodes — and you’ll work with assets and the asset catalog, setting the stage for what’s to come.

If, however, this isn’t your first time using SpriteKit, stick around — this chapter moves quickly, and you might find some new and useful information.

Gloop Drop is a 2D game based on the classic 1980s video game, Kaboom!. In Gloop Drop, the player’s goal is to catch sticky globs of gloop — the more drops you catch, the faster they go. As you work through re-creating this game, you’ll gain a deeper understanding of what it takes to make a 2D game with SpriteKit.

Although it’s optional, you may want to download the full version of Gloop Drop[15] from the App Store so that you can get a feel for what you’re building in this part of the book.

👈 Part 1 Build Your First Game with SpriteKit | TOC | Create the Project 👉

Apple Game Frameworks and Technologies by Tammy Coron can be purchased in other book formats directly from the Pragmatic Programmers. If you notice a code error or formatting mistake, please let us know here so that we can fix it.

--

--

The Pragmatic Programmers
The Pragmatic Programmers

We create timely, practical books and learning resources on classic and cutting-edge topics to help you practice your craft and accelerate your career.