Jump to content

How do you build a single map with multiple scenes?


DrMeatball

Recommended Posts

Been working on and testing this for a few weeks now and I'm no closer to really knowing if these are the right solutions.. any advice is appreciated! I'm really trying to figure out good foundation and principles so I don't have to delete and start over later.

Took me a while but I now understand how Loader Manager works - loading and unloading scenes based on visibility and distance and all that, etc. No problem there. My problem however.. how do you actually build a game that's split across multiple scenes?

 

For example..

 

Screenshot2023-03-10155837.thumb.png.f390374b29e4984c319ae5bfc77872f0.png

 

My main scene is called WorldMap. It's 8km x 8km resulting in 64 1km sq terrains all handled through Loader Manager. So far this is working and I think I follow. But next steps are where workflow things are breaking down for me.. how do you actually populate the game? Should assets (gameobjects, prefabs, scripts, etc) be going into the WorldMap scene? Or should all of these assets go into the scene that matches the terrain?

 

Screenshot2023-03-10161302.thumb.png.23b35cd95e7a0f882631af47c51385c6.png

In this screenshot I have all of the prefab/assets/etc in WorldMap.

 

 

OR

 

 

in this screenshot I have all of the prefab/assets/etc in the terrain scene that matches the actual 

Screenshot2023-03-10162126.thumb.png.dc89a59fd829bb5291fc2f3a45d21019.png

 

 

Which is right?

Link to comment
Share on other sites

  • 4 weeks later...

I don't hotload scenes myself, so take this with a pinch of salt.  I would start by keeping anything static with the terrain it sits on.  If you can manipulate things so the action happens near the middle of a terrain, that would probably help too.  

Link to comment
Share on other sites

  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

×
×
  • Create New...