r/Unity3D • u/Rockbag123 • 14h ago
Show-Off I don't like loading screens, so I added a seamless transition scene instead
I'm designing the passage as a small island for now while my brother is working on the proper assets for it, but basically it's a branch of the tree of life from Hungarian mythology. In the final version the "Csodaszarvas" (The Wonder Stag) will be showing you the way through. The transition scene lives in the same Unity scene as the map, parked far away from the play area and switched off until it's needed.
It works kind of like a window; showing the transition scene (and at the end of that, the next scene). Then as the hero walks in, the camera follows and once he's through the portal, I seamlessly switch the main camera to the one in the correct scene. Once the portal fills the whole scene, I tear down the old one and start loading in the next; all done in the background to avoid stuttering as much as possible (still getting some micro stutters here and there, but I think that's acceptable). This is still technically a loading screen, but more immersive.
As soon as the next scene is loaded, I open a new portal and use the same tricks there, just in reverse. I'm very happy with how this look so far!