Hide and Reveal Secret Rooms in Unity

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

Understand Unity's SceneManagement class to manage scene-loading.

Use Unity's features to design in-game secrets.

Create illusions using Colliders and Triggers.

Clock1.5 hours
BeginnerBeginner
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

In this one-hour, project-based course, you'll learn how to hide and reveal secret rooms in your game by setting up scenes, writing C# scripts and configuring GameObjects. Adding secrets to your game makes players want to explore the game-world more. When found, secret rooms are a reward unto themselves ... but throw in a treasure chest, too, hmm? This project covers loading and unloading scenes, setting trigger objects and writing C# code to enable and disable game components. The guided project will introduce you to the following Unity concepts: - Scenes - Materials and Prefabs - Colliders and Triggers - UI Toolkit - Animation - Coding techniques for Scene-Management and Trigger Events This project makes use of the concepts discussed in Create Keyboard Movement Mechanics with C# in Unity and Create Power-Ups and Obstacles with C# in Unity. These compliment this guided project and, although not prerequisites, are recommended for a more well-rounded understanding of the concepts presented herein.

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. Prepare a Secret Room with a Parent GameObject

  3. Hide a Secret Room behind a Walk-Through Wall that Only the Player can Enter

  4. Create a Soft Glow to Indicate the Special Nature of the Wall

  5. Create a Console that Reveals a Secret Room from a Different Scene

  6. Create a Secret Room High in the Sky!

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.