| VBGamer | |||||||||||||||||||||||||||
| 		
	RE: How hard is collision detection for tetris?   LazE  (1 reply, 0 views)  (2000-May-17)        Yes, David is right. I meant that Tetris isn't super complicated but it does use simple collision detection for the pieces :)
     Basically I use an array of booleans that represent the board. When you move a piece it makes a check to the booleans to see if you're allowed to move the piece or not. It's pretty simple and avoids any real math.
     I'de be glad to send you a copy  (although I am sure there are better examples then mine on how to do Tetris in VB).
 
      
   
 | |||||||||||||||||||||||||||
