Game Development Reference
In-Depth Information
4.
Create a new camera, and name it Camera Spy View .
5.
Remove its Audio Listener component.
6.
From the GameObject menu, use Align With View.
7.
Set the Projection to Orthographic and the Size to about 7.7 so the walls are
clipped about halfway on the top and bottom (Figure 11-1 )
Figure 11-1. The Camera Spy View clipping the walls at top and bottom
To fit the camera on screen over the regular view, you will have to adjust a few more of its
parameters.
8.
Set the Clear Flags to Solid Color, and set the Background color to black.
To make things easier to see, you will adjust the camera's far clipping plane. The most common
place for the zombie bunnies to hide is between the walls and raised beds. By clipping the camera
bounds to not include the ground, the natural camouflage of the zombie bunnies is no longer in play.
1.
Set its Y position to 40 .
2.
Set the Far Clipping Plane to 50 , and then slowly decrease it until the
ground and bottom of the tower basins are no longer rendered, about 39.75
(Figure 11-2 ).
 
Search WWH ::




Custom Search