Hi there,
I'm currently working on an asteroid exploration game, and I'm using cellular automata with arrays to create procedural cave systems.
I'm having difficulty though scaling an array. What I would like to do is a low resolution pass with my algorithm, then copy that data to a larger array in which the algorithm would then be applied to smooth things out a little, but my solution doesn't seem to be working.
So, basically, I want to take this data in one array
XOO
OOO
OOX
and turn it in to this data in another array
XXXXOOOOOOO
XXXXOOOOOOO
XXXXOOOOOOO
XXXXOOOOOOO
OOOOOOOOOOO
OOOOOOOOOOO
OOOOOOOOOOO
OOOOOOOOOOO
OOOOOOOXXXX
OOOOOOOXXXX
OOOOOOOXXXX
OOOOOOOXXXX
You can find the .cap file here
Is this another time when Construct can't decide whether 0 or 1 is the first number?