Hmm, that sound kind of complicated. I don't really get how to do even though I get the idea. It actually works well using booleans on the becomeActive/resignActive (like the animator and the key inputs), but there are a lot of variable collisions I've seen so maybe if I just rename all of the variables from the previous level to something else? Hmm, that's kind of ugly coding though.
Isn't there an easier way doing this?!
Could it be an idea putting all of the variables in a separate document and then use other .js modifying them?
Or can I somehow make the variables from one document NOT to be reachable by another .js?