every time when you move the slider a bit up one block will be added to the pyramid. So it starts really small and gets bigger and bigger. What is important though is that the pyramid will be created from the middle. So first the top, then three beneath, starting with the block in the middle of three, then 5 beneath, starting with the one in the middle, then left, then right, then the most left one and then the most right one, and on and on.
I came this far but can't stop the loop. I was trying to stop the loop when it got a certain amount but it won't work unfortunately :(. Can someone help me out? I can't seem to find the solution..
I was just wondering. I want to create a pyramid of rects ( actually an inverted one but I guess it's the same code. So it should create one rect at first, than create one on top of that, then one to the left, then one to the right, then one on the top of the middle one, anyway, you get the idea. Anyone any idea with what formule i can create that?