Hi there,
I switched to the storyboard api, lately, and I can’t figure out how to restart a scene without some petty stuff (like duplicating the lua file of the scene, renaming it, and call each other on restart). I had this problem with an old version of the director class too, but there I was able to add it myself.
What I want is to completely destroy the scene, and recreate it. I need for it to be destroyed because since there’s some pretty dynamic stuff happening, it’s the easiest route out there.
Is there some api I’m missing? Calling a gotoScene and then a removeScene obviously remove the new scene and not the old one (that gets her place taken from the new one, since it has the same name). Removing the scene first and then doing a goto result in a crash.
Purging doesn’t help either.
Any guess?
[import]uid: 8486 topic_id: 19571 reply_id: 319571[/import]