Sonic-Realms icon indicating copy to clipboard operation
Sonic-Realms copied to clipboard

How to add more levels?

Open bluedanielYT opened this issue 4 years ago • 1 comments

how do you add levels

bluedanielYT avatar Jan 27 '21 16:01 bluedanielYT

how do you add levels

the easy way would be to load up another scene maybe an example scene and duplicate that as a new stage

otherwise...

Create a new scene within unity

check the prefabs for the necessary objects that you will need to make sure the stage works.

A basic set of gameobjects/prefabs you should have in your scene hierarchy for a fully functional stage (without it breaking) are:

Level Tester - to play the stage straight from the editor in play mode

Level Manager - without it, the stage wont start. Go here for more info

Realms Camera - without it, the stage wont start. also you'll have no camera to follow your character

Spawner - without it, the character won’t spawn into the stage

Tiles - without any platforms, the player will fall forever.

Titlecard and UI -

Goal Sign - can’t finish the stage without this. (optional if you want to make your own)

after doing one or the other, make sure you create the level data for the game manager to read.

you can do this by clicking on "Assets" > "Create" > Sonic Realms" Then just choose Level data.

make sure you fill in the level data information with the correct scene to make sure it loads up properly outside of unity and scene changes.

Foxeh89 avatar Jan 27 '21 20:01 Foxeh89