I've been playing around trying to get this cave generator to work in Construct 2: scirra.com/forum/procedural-generation-for-beginnerspdf_topic43387.html
So far, I've been able to get the first example (from tutorial 1) working, but the second one is really giving me a hard time. I've tried to follow the tutorial as closely as possible, but I think I may have made some mistakes. Particularly, i'm not sure what the equivalent of the value "miner(2)-1", and similar, is in C2. I've been using "miner.At(2)-1".
Here's a link to my capx file: dl.dropbox.com/u/64045180/random_gen.capx
I'm pretty new to Arrays, but i've worked through several of the tutorials and i thought i was on the right track. Does anyone see anything obviously wrong about the method i've used?