[ANSWERED] Jump to the same scene
DanielPineiro last edited by Juriaan
I'm stuck on a silly thing. How can I jump to the same scene that is playing?
I have created some buttons in Touchosc that change the Isadora scene and I would like that when the button current scene is pressed, it starts again. (Like the jump actor does to other scenes)
DusX Tech Staff last edited by
What I would do is create a background scene that is your 'scene controller'.
Add to all scenes, Activate Scene actors which activate the 'scene controller' background scene (incase its not active), and have all logic for OSC coming into this background scene.
Then you can activate, de-activate scenes as needed based on the OSC from TouchOSC.
In the case of wanting to re-start a scene.. you can de-activate it and then instantly re-actiavte it, this will re-initialize the scene.
So a possible scene structure is: [scene controller] [scene 1] [scene 2] [scene 3] etc....
Scene 1, 2 ,3 etc.. would have Enter Scene triggers connected to an Activate Scene actor so that scene controller is always active
scene controller would have OSC watchers and logic to activate and de-activate scene 1, 2, 3 etc.. as needed
DanielPineiro last edited by
Got it! Thanks a lot Dusx