Time for action – preparing the world
Let's get started with preparing the world for the Angry Birds game:
To start it all off, we need to create a new project in Unity. Naming it
Ch7_AngryBirds
will work well. Be sure to change the target platform to Android and set the Bundle Identifier to an appropriate value.Next, import the starting assets for this chapter and create some folders to keep everything organized.
In Unity, it is very easy to turn a game from 3D to 2D. Simply select the Main Camera object that is by default present in every new scene, find the Projection value, and select Orthographic from the drop-down list.
Tip
Every camera has two options for how to render the game. Perspective renders everything utilizing the distance from the camera, imitating the real world; objects that are farther away from the camera are drawn smaller than objects that are closer. Orthographic renders everything without this consideration; objects are not scaled based on their distance from the camera...