Hello,
I am having difficulty returning to a scene that I changed from (using director).
Here is a some of the code that I am using:
I have a button in a map called “space_map” that calls the following function
local onButtonRelease = function(event)
Runtime:removeEventListener(“enterFrame”, onUpdate)
director:changeScene(“World_1”, “fade”)
end
This code changes the scene to “World_1” without a problem. From the “World_1” map, I am using the following code to return back to “space_map” but it isn’t working:
local onTap = function(event)
director:changeScene(“space_map”, “fade”)
end
Do I need to do anything special to re-enter a map that was loaded previously? It seems like I can load as many new maps as I want with the above code but just can’t reload an existing map.
Thanks,
Dan
[import]uid: 55714 topic_id: 10320 reply_id: 310320[/import]