I’m having some confusion with my Storyboard scene events. I was under the impression that variables local to one scene would not interfere with the next.
I’m getting some weirdness where my scene map created in one scene and then removed in “didExitScene” ends up deleting my map that’s created for the next scene in the “willEnterScene” event.
The maps do reference a common “constructor” function located in another file but that function returns a value to a local table in each scene and the “deletion” function references that local table.
The maps seem to work fine if I create the map in willEnterScene and then delete them in the exitScene event but that looks hacky with the slide transitions I’m using.
I would just create and destroy the maps in in the createScene and destroyScene events but then I get weird things with the static physics from the map “wall” objects lingering from one map to another.
I need physics “on” to create my map since the walls are static physics objects. Should I turn physics “off” on the exitScene event then to prevent this problem of “lingering physics”?
I’ve got all my systems largely functional. Storyboard is just killing me though. I’d *really* like to finish this game in the next two weeks… that would be huge. Like life trajectory changing.
Thanks for any help you can offer 
[import]uid: 105707 topic_id: 29530 reply_id: 329530[/import]