Describe the feature
Noble.handoff(...) to add to the stack, and a Noble.return() to pop it.
Describe alternatives you've considered
Noble.transition(...) could push every time, then return would be automatic. But that would add a ton of overhead compared to the current system since it wouldn't be a blind upgrade. A "scene_stack_size" setting defaulted to 0 might help.
Alternately, a Noble.swap(...) that has a return function and it only ever goes 1 deep.
What problems would this solve or help prevent, if any
This would be useful for inventory screens, hub worlds, areas with lots of enterable buildings.
This might require a NobleScene:reenter callback too, a noop
Additional context
[This area intentionally left blank]
Describe the feature
Noble.handoff(...)to add to the stack, and aNoble.return()to pop it.Describe alternatives you've considered
Noble.transition(...)could push every time, then return would be automatic. But that would add a ton of overhead compared to the current system since it wouldn't be a blind upgrade. A "scene_stack_size" setting defaulted to 0 might help.Alternately, a
Noble.swap(...)that has a return function and it only ever goes 1 deep.What problems would this solve or help prevent, if any
This would be useful for inventory screens, hub worlds, areas with lots of enterable buildings.
This might require a
NobleScene:reentercallback too, a noopAdditional context
[This area intentionally left blank]