- Home /
One scene, many levels??
I was wondering how to make many levels in one scene. I wanted to make one scene for one level, but came across many complications. I you guys have a certain way of making several levels in one scene, please do share your ideas. That would be much appreciated.[ I am a novice coder, hence I am having a really hard time. ]
What kin of game you are planning to make ? means how ur levels will be ?
its a 2d game, similar to super meatboy, and levels will be similar to that game as well. one world will probably have 5-10 levels.
Answer by PythagoreanWarrior · Aug 28, 2015 at 01:01 PM
Try using multiple cameras? that's all i can think of. or when the level objective is met destroy/disable all objects and create those of the new level.
Answer by gunespedastrian · Aug 28, 2015 at 01:04 PM
For Gameplay;
First create a empty game object for one scene. Do this if you want to add more scenes.
Create a C# for activate them but I will not write a script here you must imagine diffrent ideas.
Set all empty game object positions at 0.
For UI(if you want to use diffrent UI for all scenes);
Create a main canvas
Create another canvas and name it like -Scene1Canvas-
Match them to your scene script like;
if(scene1 == true){ Scene1.SetActive(true); Scene1Canvas.SetActive(true); }
//Or
if(Scene1.SetActive == true){ Scene1.SetActive(true); Scene1Canvas.SetActive(true); }
Please try these ways ._.