Now our mini game FlyingSpaceship is about to finish. To give the feel of a game environment we will introduce a parallax scrolling background. A parallax scrolling background is composed of multiple background layers (that is, nodes); animating them simultaneously gives a feel of dynamic background. To add some cool flyers to the game we will add two layers of background: the SpaceBlueSky
and the SpaceWhiteMist
in the form of nodes.
To start with this cool feature, we should be aware of the scrolling background created in the previous chapter and have a basic knowledge of sprites, nodes, and math. We are going to cook the Parallax background recipe in the FlyingSpaceship game.