Orientation in our project
As we are making a Platformer game, it's better to opt for landscape mode. Although you can select both Landscape Left and Landscape Right, it is better to opt for one orientation for easier programming. Following are the steps to do the same:
Launch the
Platformer
project that we made in the last chapter, either by double-clickingPlatformer.xcodeproj
from the directory of project, or from your Xcode.Click on the Project Navigator and then click Platformer, which is just under it, on the left panel.
Untick the Portrait checkbox and tick Landscape Left under the Device Orientation section: