Using only one scene for a level menu?
Hey everybody,
in my game I have 15 levels, and at the moment I have for each level a own scene working as the "level menu" with, continue, restart and go back to levels.
The menu in each level is showed up when a button is pressed. Is there a chance to have only one menu?
If yes, how to do with attributes in the each scenes and so on?
Thanks for help
in my game I have 15 levels, and at the moment I have for each level a own scene working as the "level menu" with, continue, restart and go back to levels.
The menu in each level is showed up when a button is pressed. Is there a chance to have only one menu?
If yes, how to do with attributes in the each scenes and so on?
Thanks for help

Comments
So on level 1, you'd put in a behaviour *somewhere* that says "Change level to 1'
On level 2 you'd put in a behaviour somewhere that says 'Change level to 2'.
And so on and so forth for every level.
This way, the level number gets changed depending on what level you're on.
Then, in your 'level menu' screen, in your 'retry' button you'd have the rules:
If level = 1 AND button is pressed - go to level 1
if level = 2 AND button is pressed - go to level 2
And so on and so forth.
On your 'continue' button, have rules that say:
If level =1 and button is pressed - go to level 2
If level = 2 and button is pressed - go to level 3
And so on and so forth.
That should help you out.
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
but are you asking like at the end of a scene the menu that pops up? or like when you go to choose a level?
To continue the level I need the behavior "unpause game"...
Does this also work with your suggestion?
This scene is called at the end of a level by Pausing.
You can use 'Change Scene' when in a pause scene. So yes, it should work fine.
Cheers,
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io