Game Development Reference
In-Depth Information
How to do it…
To create multiple scrolling backgrounds with varying speeds of scrolling, we will be creat-
ing a class for it to accomplish the parallax background. The steps involved in creating a
class for parallax background named as FSParallaxNode are as follows:
1. Create a new file by right clicking on the FlyingSpaceship project.
2. Select Objective-C Class in the Cocoa Touch section.
Search WWH ::




Custom Search