Summary
In this chapter, we learned about nodes in detail. We discussed many properties and functions of the SKNode
class of Sprite Kit, along with its usage. Also, we discussed about the building of a node tree, and actions on a node tree. Now we are familiar with the major subclasses of SKNode
, namely SKLabelNode
, SKCropNode
, SKShapeNode
, SKEmitterNode
, SKLightNode
, and SKVideoNode
, along with their implementation in our game.
In the next chapter, we will learn the basics of adding physics simulation in a Sprite Kit game. We will also learn about adding physics to the different nodes in our game.