Cannot Go bak to a previous loaded Scene

I am using the Director Class to move from one scene to another.

But there are occasions where I need to go back to a previously loaded Scene, but the same script that took me there in the first place will not take me back to it, even if I copy and paste the code.

Can anyone tell me what I might be doing wrong.

Thanks for any help. [import]uid: 7830 topic_id: 8700 reply_id: 308700[/import]

hurleyrg,

if you’re using director class 1.2 then you need to create a loading.lua or something to in between scene.

example:

mainmenu.lua --> loading.lua —> level1.lua

if you’re restarting level1.lua then do this:

level1.lua —> loading.lua ----> level1.lua

the tricky part is in your loading.lua

hope this help.
[import]uid: 12455 topic_id: 8700 reply_id: 31902[/import]