Handle Scene Transitions, Doors and Persistence like a Commercial Game

Published: 14 September 2023
on channel: Sasquatch B Studios
9,181
401

Show your Support & Get Exclusive Benefits on Patreon (Including Access to this project's Source Files + Code) -   / sasquatchbgames  
Join our Discord Community! -   / discord  

The creation of this video started with a simple idea: I wanted to make a video showing people making metroidvanias how to handle scene transitions when they have multiple doors in each scene.
But...it kinda EXPLODED into this monster of a video.

SO! In this Unity tutorial, I wanted to show you how I handle everything in the most professional way I knew how - so basically, this video will show you how to handle: multiple doors, scene transitions, scene references and data persistence like a commercial game. And I say that with confidence, because these are the same systems I use in my metroidvania Veil of Maia.

I hope you enjoy!

Link to Download our FREE 2D Asset Pack:
https://veilofmaia.com/tutorial-asset...
---
In need of some Unity Assets? Using our affiliate link is a great way to support us. It's free, and we get a small cut that helps keep us up and running: https://assetstore.unity.com?aid=1100lwgBQ
---

Unity forum for the SceneField code:
https://discussions.unity.com/t/inspe...

Tarodev video showing his Initialization code:
   • Project Initialization - Unity Archit...  

Contents of This Video: ------------------------------------------

00:00 - Introduction and Scene Explanation
01:26 - How I setup my Input
02:45 - Setting up the Interaction for the Doors
05:21 - Creating the editor script to handle serialized scene references in the inspector
08:40 - Setting up our Scene Management
10:31 - Setting up the Fade In and Fade Out
14:34 - Setting up Object Persistence
16:18 - Finishing the Fade In Method
17:41 - Spawning the player to the door when a new scene is loaded
19:13 - Improving the Persistence
22:03 - Disable player controls when entering/exiting a door

Who We Are-------------------------------------

If you're new to our channel, we're Brandon & Nikki from Sasquatch B Studios. We sold our house to start our game studio, and work full time on building our business and making our game, Veil of Maia.

Wishlist our Games:
Wishlist Veil of Maia! - https://store.steampowered.com/app/19...
Wishlist Samurado!
https://store.steampowered.com/app/23...

Don't forget to Subscribe for NEW game dev videos every Monday & Thursday!

Follow us on Twitter for regular updates!
  / sasquatchbgames  


#unitytutorial #unity2d #unity3d


Watch video Handle Scene Transitions, Doors and Persistence like a Commercial Game online, duration hours minute second in high quality that is uploaded to the channel Sasquatch B Studios 14 September 2023. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 9,181 times and liked it 401 visitors.