An Alternate Universe game in Unity


What if, in a world devoid of color, there was an alternate universe with splashes of color? How would you escape to this world?

Posted: 2019-05-01
Est. Reading Time: 4 minutes
Author: Brady O'Leary
Source code can be found at https://github.com/Nesdood007/escapegame

Try out the game for yourself: https://mboleary-usc.itch.io/escape

Editor's note: This was Project 3 for my New Media Arts Class

Original Title: Project 3 - What if there was an Alternate Universe?

Original Description: What if, in a world devoid of color, there was an alternate universe with splashes of color? How would you escape to this world?

Project Information

A Unity game where you must escape from the world you are currently in.

Introduction

This is a First-person styled game where you must figure out how to go from world to world.

Directories

/Assets - The Assets Directory to include in a new Unity Project

/Build - Prebuilt binaries for Linux, MacOSX, Windows, and WebGL

Controls

Mouse - Look Around

Left Mouse Button - Shoot a Projectile. The projectile will glow all colors that it can interact with

WASD - Move Around

SHIFT - Run

How to build

In order to build this project, you should create a New Unity Project, and then import the assets from this assets directory into your project. It should contain all scripts and resources needed to test out the project.

Motivation

Since this project used a lot of scripts, I felt that it would be good to have this project be open-source to help other students that may take this class in the future see how C# code is written, and how it can be used to make a cool game.

There are scripts to spawn in enemies, keep track of colors, and change the music when the player collects a tesseract, among other things.


Walkthrough

When this game was demoed in class, I think that the objective of hte game wasn't initially obvious enough, so I have made a walkthrough to help people play through it.

Main Objective

The entire world is governed by collecting colored cubes, giving the player the ability to interact with other objects that also are the same color.

Objects

This is a Tesseract Piece. Your objective is to collect all four of these. They are all different colors.
This is a Tesseract Piece. Your objective is to collect all four of these. They are all different colors.
This is a Colored Switch. You touch this to make the miniature capsule rotate, which signifies that the state of the switch has changed. These can make walls disappear, or make other things happen. There is also a colorless variety.
This is a Colored Switch. You touch this to make the miniature capsule rotate, which signifies that the state of the switch has changed. These can make walls disappear, or make other things happen. There is also a colorless variety.
Surrounding the tree are Colored Enemies. You must have collected the corresponding color of tesseract to make these disappear. Pro Tip, they are actually harmless and were placed simply to be a nuisance. (Perhaps you can modify them to be harmful to the player?)
Surrounding the tree are Colored Enemies. You must have collected the corresponding color of tesseract to make these disappear. Pro Tip, they are actually harmless and were placed simply to be a nuisance. (Perhaps you can modify them to be harmful to the player?)

Areas

Light World (First Scene)

You, the player are in a cube. You must touch the switch to escape this bow, but you aren't finished escaping yet! Go and investigate that suspiciously large and dark tree in the middle of the area.

This is the tree that you should go toward.
This is the tree that you should go toward.

Darker World (Second Scene)

You have been teleported to a darker version of the world you were just in. Off in the distance, you should see colored Tesseract Cubes (as seen above) in each corner of the area. You can collect them in any order that you choose. When you collect all 4, you will be teleported to another area.

Darkest World (Last Scene)

You should see a lighter tree in the middle of the field, like the first one that you initially touched to get to the Dark World. Go touch that tree!

This is the tree that you should go toward.
This is the tree that you should go toward.

After this you are teleported back to the Light World. You can go around again, if you want, or try to escape a different way in the Darkest World. Hint: Then enemies don't always stay on the ground!. Also this breaks the game, FYI.


 ______________________________ 
< I mount my soul at /dev/null >
 ------------------------------ 
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||