How to Switch Levels with Trigger Area for 2D RPGs in Unity
HTML-код
- Опубликовано: 5 июн 2024
- Quick tutorial on level switching between one map and another when a player walks into a trigger area.
Script pastebin.com/GknHBh2c
◢◤◣◥ My Latest Unity 2D GameDev Course ◢◤◣◥
Make a 2D Platformer Character with State Machines in Unity 2020
skl.sh/3lpWPQL
◢◤◣◥ Chris Recommends ◢◤◣◥
Skillshare for Online Video Courses ►► www.skillshare.com/r/user/chr...
ProtonVPN for Internet Privacy ►►go.getproton.me/SHDO
◢◤◣◥ See My Full Software Courses ◢◤◣◥
christutorials.teachable.com
www.udemy.com/user/chris-nava...
www.skillshare.com/r/user/chr...
➣ Follow Me On
RUclips ►► / darkskeletontuts
Odysee ►► odysee.com/$/invite/@ChrisTut...
Bitchute ►►www.bitchute.com/channel/hU2e...
Pocketnet ►► pocketnet.app/christutorials
Minds ►►www.minds.com/register?referr...
Gab.ai ►► gab.ai/ChrisTutorials
00:00 - What to Expect
00:08 - Creating a Trigger Area for Level Switch
01:40 - LevelMove Script
03:17 - Checking Scene List for SceneBuildIndex
04:10 - Player Tag
04:38 - Testing - Хобби
OH MY GOD THANK YOU SO MUCH!!!!!!
I HAVE SPENT BLOODY HOURS UPON HOURS TRYING SEVERAL DIFFRENT TUTORIALS AND THIS WAS THE QUICKEST N EASIEST ONE THAT ACTUALLY WORKED OH MY GOD YOU ARE MY SAVIOUR
Your videos have been the most helpful to me by far. I started with the Unity 2022 crash course and I've been looking for a follow up video. These are a great help for that.
Easy and quick thank you !!
Ok, I think I understand now how you can work with colliders. You must attach a collider to an empty Gameobject to "make it" exist in the world. Then you can attach a script to the empty and use the various collision methods, Unity provides. I was wondering why my tripwires were so hard to set up in the first place. They simply needed that empty body to simply exist.
Would you be able to post the update where you show how to bring the player along with you?
thank you so much!
Thank you, I like your new "bite size" tutorials :D
Thank you bro i love you
I just wanna say thank you, Thank you very much! I just stayed hours and hours trying to make this, until I find your vídeo.
Great video! Did you create the follow up video regarding spawning the character location in a new scene?
I browsed through your videos and did not see it.
I struggled making a a second scene cause Add Open Scene doesn't worked.
if anyone got this problem, do it manually. Go to File click New scene, safe it in the scene folder then open the Build Settings and drag and drop your second scene :)
I NEED A PART TWO PLEASE!!!!!
I got a question. I want it to not execute the code when the scene is a specific name, so pretty much I want it to check if the scene name is "example" then not execute the code, else execute it. Please help :)
What if a room has multiple entrance ?
is there a part 2 to this? i'm mainly struggling with position of the character in the new scene
same
Thank you
tysm im trying to make a 2d platformer and this helped not a bot btw
so where the update ?
Great tutorial! I've been trying to figure this out for the last hour or so and you've come to the rescue! thanks :)
Nice one
Helps alot
tysm
you saved my class assignment ty
Thank you, Chris 😁😁
I was searching for videos on how to do this, because my own code didn't work.
Turns out, I completely forgot that the OnTriggerEnter and Collider that I want, need to be 2d...
I am has the stupid
Thncyou
where part 2 ?
ruclips.net/video/WdlvjD5xE7c/видео.html part two
tysm