Hi All,
just starting to lean unity and c#, though have a lot of c/c++ experience and some low level 3d graphics experience.
What I’d like to do is write a game that uses lots of mini games, each mini game is based on a set of themes, the usual stuff, space, tropical island etc. I’d like these to load instanly after the first load of the game.
I have just started unity and am trying to work out the best way of doing things. The way I though was
-
Have a central bub, this is where the player enters and where the game loads. This has doors that lead to space, island , Arctic, etc.
-
When the player enters say space, it does a min scene load, only a tiny amount of graphics, to illustrate the scene. The player then walks over to a door to open a mini game.
-
when the player enters the say space hub, I load the 5 mini games into the background. While the player has to run over to a door to open. This means the mini games appears to be already running when the player enters.
The way I though I’d do this is to do a LoadScene at start up to load central hub. Then LoadScene loading in min graphics for the area hub. Then use LoadSceneAsync to load every mini game while player is in area hub, and use SetActiveSceneas player enters door. When player leaves area I unload each scene. Is this the best way to do things?
I’ve read that LoadSceneAsync flips to scene straight away when loaded? On a question on this sub. Can I use it to load multiple scenes then flip to anyone when I’m ready? Rather than it forcing the flip when it’s loaded?
Are there any assets on the store I can use to make loading speed up, I’d like it to be as fast as possible, eg fast scene or texture loading? I was looking at Alas magick and Amplify texture 2?. Is there any asset that can keep track of open and closed scenes, or am I better off doing this myself? Thanks.