Tetris
Blitz3D Forums/Blitz3D Beginners Area/Tetris
| ||
I'm wondering what you guys think is a good way to handle the blocks in the "well" (what I call the area where the blocks fall) and the blocks in the falling shape in Tetris. My ways always seem overly complicated. |
| ||
I'd probably have an array for the well blocks, with the dimensions of the array be the coordinates of each square. Then, I'd have a type for the falling blocks, and when the blocks hit the bottom, they transfer their information over to the array and then delete themselves. |