• Advertisement

Archived

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

Tetris question

This topic is 5281 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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

  • Advertisement