O'Reilly logo

Getting Started with SpriteKit by Jorge Jordán

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 3. Taking Games One Step Further

In Chapter 2, What Makes a Game a Game?, we learned some techniques that are used in almost every video game. In this chapter, we will talk about some techniques that are used to add complexity to games, such as creating our own SKNode subclasses or drawing geometrical primitives. We will also learn some other techniques that will provide a realistic look and feel to a game, such as animating sprites or implementing the parallax effect.

You will learn the following things in this chapter:

  • How to create classes that extend SKNode
  • How to implement the parallax effect
  • How to animate sprites
  • Drawing geometrical primitives

Extending the SKNode class

When designing games, you may need to provide some extra behavior ...

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