Chapter 1. The First Step toward SpriteKit

In 2013, Apple released SpriteKit, its 2D game engine, in order to compete with all the two-dimensional frameworks that were existing in the market and retain their developers in its own technological ecosystem. Since then, SpriteKit has become one of the most powerful tools that are used to develop 2D games for iOS. In this chapter, we will have a look at the elements that are a part of game development, and we'll study how to use them with SpriteKit.

In this chapter, we will explore the following topics:

  • Understanding game engines
  • Creating and understanding a new SpriteKit project
  • Understanding the SKNode class
  • Studying the SKScene class
  • How to add a sprite and background to a scene

Game engines

I remember ...

Get Getting Started with SpriteKit 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.