Game Development Reference
In-Depth Information
The next option for the Scene view is the 2D toggle. If you are creating a 2D game, it makes sense to
develop in the kind of view that matches the final output. A little experimentation shows that the 2D
option is a preset to the Back view, with the iso option turned on (Figure 1-30 ). The view points in the
positive Z direction. The Scene gizmo is hidden to prevent accidental viewport manipulation. Only
Pan and Zoom are available.
Figure 1-30. The 2D toggle compared with the Back/iso view
The next toggle in the Scene view turns scene lighting off and on. When the scene lights are off, the
scene is lit from the user's viewpoint, straight into the scene, insuring the visible objects will be well
lit. In the Angry Bots scene, the lighting has already been “baked” into most of the textures—that is,
the textures themselves have been altered to appear as they are with the lighting on them. To see the
lights being toggled off and on in this scene, you will need to locate one of the objects that receives
dynamic lighting.
1.
In the Hierarchy view, search for mine_bot.
2.
Select one of the listed mine_bots, and double-click it to zoom in on it in the
Scene view.
3.
Toggle the Scene Light button off and on to see the effect on the bot
(Figure 1-31 ).
 
Search WWH ::




Custom Search