Hello,

I've been trying for a while to set up a loop that generates a grid of blocks at the start of the frame. This is easy, however I'd like each block to be random out of a pool of X amount of types.
See example below.

https://dl.dropboxusercontent.com/u/9919361/GRID.jpg

I'm also trying to make it dynamic, so it will be easy to add new block types in the future.

I know there would be a way to do this, I'm just trying to figure out the best way.

Any ideas?

Thanks in advance.