Sonic-Realms
Sonic-Realms copied to clipboard
How to add more levels?
how do you add levels
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.