Uncategorized

Entry and Exit Door State Machine Unity2D

Today we’re going to have a look at setting up our doors.

Before we get started, let’s talk this through.

The goal of our sci-fi platform game is to have our player navigate through the level and overcoming obstacles in order to reach the exit. The exit door is locked when the level starts. Our robot has to activate all switches in the level in order to unlock the exit door.

So knowing that, we have three objectives complete.

  1. Setup our doors so that they will lock, unlock and open at a given state.
  2. Setup our triggers so that we can activate them to unlock the doors.
  3. Setup a UI indication to assist in tracking trigger objectives and when the exit door is open.

Today let’s get started with our doors and we’ll cover the reset of the objectives in following videos.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s