Creating a Lift System

Going over how I implemented a lift system in my 2.5D game

Objective: Go over how I made the lift system in my 2.5D game.

The Functionality

To accomplish this, I utilized the code I had created when prototyping an elevator system in a previous article

Link to the article where I create this

The code I used for that is as follows:

The difference between the elevator system and the lift system is that the lift system will automatically move up and down between its positions, with a delay of a certain amount of time before moving. To accomplish this, I extended the above code to what is seen in the screenshot below:

This gave me the following result (set to two seconds simply for demonstration purposes):

Notice the delay in movement once the platform’s (right) destination is reached. That’s all for today! In the next article, I will be going over how I created a VFX I have been working on for a bit now.

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to Quickly Jump to the Folder Containing the Most Unread Emails in Outlook

Challenges during project catwalk

Most common initial letter in English

ProGuard your Android App Code

C++ CONCURRENCY 101

What is Hosted OpenShift Cluster

WEB APP VS. MOBILE APP: WHAT TO CHOOSE?

Tau Development Update | October 2021 (Ep. 36)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Gabe Gomez

Gabe Gomez

More from Medium

Framing Transposer Virtual Camera Explained in Unity’s Cinemachine

2.5D P1 Framework: Complete!

Score Implementation

Quick tip — Enabling post-processing in Unity Universal Render Pipeline