How can I make a tile to change his animation depending on his neighbor?
For example:
If I have 3 blocks like this:
[1][1][1]
Where [1] represents center frame of a tile
And I want the blocks to automatically change to:
[2][1][3]
Where [2] represents left frame of a tile, and [3] right frame.
Another example would be
[1][1][1][1][1]
To:
[2][1][1][1][3]
So it would be something like "If doesn't have neighbor at right, change frame to 3" and "If doesn't have neighbor at left change frame to 2"
But I've no how to do that in C2.
Anyone can help me please?