InChapter 5, Lights, Cameras, and Shadows, you learned about how to use cameras for mini-maps. In this section, we will implement a mini-map for our game. This mini-map will provide a top-down view of our game, centered on the sandbox area you created in Chapter 8, Implementing Our Non-Player Character. The player can use this mini-map as a radar to help find Cucumber Beetles in the sandbox.
First, we need to turn the
Scene view 2D toggle off. This will put the
Scene view back into 3D mode.
Here are the steps for creating a mini-map in our game:
- Right-click on an empty area of the
Hierarchypanel and select
- Rename the
- Double-click the
Camera_Minimapcamera in the
Hierarchypanel to focus on that object in the
- Change the
90, so it is looking at the ground
- In the
Sceneview, use the transform tools to position the camera so that it covers your sandbox
- You can use the
Camera Previewto help determine what...