Exit dream, re-enter and resume game state
I was wondering how to properly set up something like this:
With the full release I want to have a bigger sized game with multiple quests. How do this the right way?
There will be several linked scenes and I know that you can have persiting variables.
So far, so good.
But if you quit the dream and re-enter, people shouldn't start all over again. The dream should start where people left or at least in that last scene with everything they unlocked or didn't unlock. Like an actual game save. Do I have to have checkpoints?
I also want to hide my individual scenes from search. And I'm not sure how to set up scenes within the actual dream: always hidden, unlocked until discovered etc. to make this work?
What are the necessary steps? What to avoid? This would help a lot to plan everything ahead. Thanks!
-
I'm pretty sure there is a way. When I've played other people's dreams, exited, then go back to play it, Dreams asks if I want to continue.
-
Ok, ok, ok... kinda my bad. People, dont make all scenes invisible by tweaking it in the dream.
In invisible scenes you can not respawn and if all are invisible it always starts from the beginning.
Ok sorry this is solved. -
So there is one element called Persistent Variable or something. You use this to manage all data and save values for players when they return.
One way of using it might be to number all your checkpoints. So if the checkpoint by the elevator to your next scene is Checkpoint 3, when they enter the trigger zone for changing scenes you'll store '3' in the persistent variable. When they come back to that level, you'll use that variable to spawn them at Checkpoint 3. You can use the same thing to store status of collectibles or things like that.
As for hiding scenes from search... no idea.
Please sign in to leave a comment.