Super Mario Maker 2 - How to Recreate the Key Door in Unity

Опубликовано: 23 Ноябрь 2024
на канале: Press Start
11,174
335

In this video I show you how to recreate the key follow and key door effects from the game Super Mario Maker 2
SUBSCRIBE: https://bit.ly/2Js78lE
============
SUPPORT:   / pressstartclub  

In this video, we cover:
0:25 - Current Scene Setup
1:00 - Setting up the Key Object
1:30 - Installing a Spring Joint 2D component
3:35 - Creating a script for our Key Follow Object
5:00 - Setting up a backpack for our Character
5:30 - Connecting our Spring Joint 2D to our player via C# script
6:30 - Setting up our Doors in the scene
7:00 - Creating a script for our Door Teleportation
9:00 - Adjusting Door script to wait for release of "Up" Key
10:10 - Final Product

COPY & PASTE CODE FROM THIS TUTORIAL:
https://pressstart.vip/tutorials/2019...

MORE TUTORIALS:
https://pressstart.vip/unity-tutorials