Create a Basic Mini-Map in Unity

Offered By
Coursera Project Network
In this Guided Project, you will:

Configure a second camera to display a mini-map.

Create a Render Texture to display a camera's image.

Understand and apply the concept of Layers.

Clock2 hours
BeginnerBeginner
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

In this one-hour, project-based course, you'll learn how to create a simple mini-map. You'll learn how to set up a secondary camera and configure it to display an overhead view of the scene and follow the player. You'll also learn how to use layers to display different objects on each active camera and use masks to give the mini-map a circular shape. The guided project will introduce you to the following Unity concepts: - Camera - Layers - Masks This course makes use of the scene created in Baking Lights for Better Performance in Unity and the scripts created in Create Keyboard Movement Mechanics with C# in Unity and Create Simple Enemy Behaviour with C# in Unity (Intro to AI). These compliment this guided project and, although not prerequisites, are recommended for a more well-rounded understanding of the concepts presented herein. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Skills you will develop

Video-game DevelopmentC sharp (C#) Programming LanguageUnity 3DUnityApplication development

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Introduction and License Activation

  2. Set Up a Second Camera

  3. Create a Render Texture and the Map Image

  4. Configure a MiniMap Layer and Configure Culling Masks

  5. Add a Mask to the Mini Map to Turn it into a Circle

  6. Write Camera Follow and Zoom Scripts

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.