Skip to main content

Report this content

We want the Dreams coMmunity to be a safe, diverse and tolerant place for everyone, no matter their age, gender, race, sexual orientation or otherwise. If you believe this content to contradict these principles, you can file a report for our coMmunity teams to investigate.

Note that misuse of the reporting tool will not be tolerated.

Item being reported:

A forum post by dr_murk

One way to make a two dimensional array: do it in physical space.

Create an NxM matrix of cubes. Creates another cube to be your "head" which is used to read and write to the matrix.

Index them using the x and y coordinate, corresponding to 0 through N and 0 through M.

Store values in them using color- use just one channel, such as red. This allows you to store a number from zero to one in each of them.

Set the logic on the head so it can go to location x,y given two inputs. A directional, narrow wireless receiver can read whats on the square below it. A little more logic can write to it and change the color.

Setting them to non collidable, invisible, and looser can help the optimization.

Oh dear! Your browser is either unsupported or there has been a problem loading the page.