Change Scene to referring scene
Fetaboy
Member, PRO Posts: 191
I made a keyboard in my game as a new scene which I call from various other scenes. It would be awesome if the 'Change Scene' behavior had an option to return to the scene which called it. I suppose a workaround would be to simply create an attribute to store the referring scene and write some rules based off of that.
Thanks.
Thanks.
Comments
When you're in that scene, have the game remember what it's called.
So if the variable is 'scene number' and you're in scene 1, it'll change the variable: Scene Number = 1.
Then on your paused screen - your keyboard in this case - when you exit that scene, have a set of rules that say
'If Scene Number = 1' then change scene to scene 1
'If Scene Number = 2' then change scene to scene 2
etc
I'm eager to see your keyboard! Quite an ambitious start to your GS career
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io