In this chapter, you learned some advanced techniques that will help you give a professional and complex look to your games.
We started by learning how to create nodes that are composed of several sprites and actions by creating classes that inherit
SKNode. In this way, we created a new class for the enemies in the game that consist of two
SKSpriteNode instances, two
SKAction instances, and the type of enemy.
In addition to this, we learned how we can perform actions on each of the sprites separately so that the element behaves as we want.
Furthermore, I showed you how to apply the parallax effect to our games in order to provide them with depth and a sense of motion. For this purpose, we learned how to take advantage of the
update method ...