Chapter 2. Scenes in Sprite Kit
The Hello World game, made in the previous chapter. was the first step to Sprite Kit. We also made acquaintance with the Swift programming language, which we are going to use for iOS game development using Sprite Kit.
In this chapter, we will dive deep into various fundamentals of the Sprite Kit project and also discuss in depth about scenes in a game. We are further going to continue the development of the game, Platformer, and use it as a tool to learn Sprite Kit. We will be learning about different auto generated files in an Xcode project and about their importance. Only then will we be able to understand what scenes are, and their importance in game development. Further we will also learn how nodes play an important part in Sprite Kit and help us to improve optimization and control of our game. In this chapter, we will also learn how to add more than one scene in our game and successfully transit from one scene to another along with animating...