Archived

This topic is now archived and is closed to further replies.

cryo75

Tetris question

Recommended Posts

cryo75    143
Hi everybody, I''m new to game programming and DirectX so I decided to go the safe way by starting from the simple stuff.... and that''s doing a tetris-type game in vc++ and GDI, then I convert from GDI to DD7 and then to DX9... Ok, so my question is really basic. How should I define my blocks? As arrays of 4x4 or what?? Thanks, Ivan

Share this post


Link to post
Share on other sites
oliii    2196
you can define the rotations likewise, and precompute them. So you''d have an array of 7x4 pieces, so 7x4x(4x4) unit blocks.

Share this post


Link to post
Share on other sites