Resume from an exit door
Not immediately useful without auto-dream surfing, but I am making a fairly long game and I want some way to make sort of intermission points that exit my dream and let you go to another before coming back.
Basically, I want to have something like a bed or a TV screen in my game, which when used will send you to a different dream (someone elses, using auto surf/collections/etc), while saving your current place for when you run my dream again.
I get that I need my dream to have multiple exit doors, but it doesn't seem to be respecting my checkpoints after the dream has exited, and just sends me to the start after I play the dream following the exit door being triggered.
-
Dreams generally reset completely if they are exited and re-entered. The only exception to this is the persistent variable gadget. If you set this variable to a unique number every time you hit a checkpoint then this value will be saved and you can query this value as the player enters the level and use that to work out which checkpoint he player should be up to. Then you can teleport the player to the right spot.
Hope this is helpful :) Peter -
Someone made a demo of how to do this. Maybe remix it to see how they did things, or just use it in your level. https://indreams.me/element/b0sDStSZUAM
댓글을 남기려면 로그인하세요.