Thanks for the example file. It does seem to "work" in the sense that after a second or two a black and also pink/magenta copy loads. The magenta copy that loads is the one that has collision properties. What's interesting is then I hear my computer fans spinning like crazy and scaling the generated collision tiles is proving difficult.
I'm currently exploring a variation of the script to procedurally generate either 3d boxes for collision or sprites for collision, based on the concepts and scripts seen in this video: youtube.com/watch
I'm also revisiting and playing with the ROTJS plugin suggested earlier. Thank you!