Sign in to follow this  

matrix tetris

This topic is 4163 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

I have the source code that I am planning to use for both programs but my question is this, Can I write it so that the tetris pieces come down in matrix code. Basically what I am going for is a tetris with matrix style pieces. Can it be done and if so I could use a little advice. I am using C++ to write it.

Share this post


Link to post
Share on other sites
Quote:
Original post by Unknownabilty
I have the source code that I am planning to use for both programs but my question is this, Can I write it so that the tetris pieces come down in matrix code. Basically what I am going for is a tetris with matrix style pieces. Can it be done and if so I could use a little advice. I am using C++ to write it.


Syntax Error: Line 1 of Post.cpp.
Identifier referenced before assignment: "the source code"

Please post your problem clearly spelling out what code you are working with. You will need to be MUCH more specific if you want to get any sort of worthwhile help.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Yes, I want to replace the blocks with a matrix style blocks. I am working with code that I got off of code project for both tetris and the matrix theme. Like I said I am trying to change the regular pieces that are normally in tetris to a matrix code style.

Share this post


Link to post
Share on other sites
If you don't state what *exactly* is the problem clearly, no one will be able to help you. You seem to think that we know those sources you got from somewhere and that we know what you have on your mind, but we really don't. What does it mean "I want to replace the blocks with a matrix style blocks."? What is matrix-style? Do you want the blocks to appear as black boxes with little green letters inside of them? The just make such a picture in Paint or Gimp or whatever, and draw that instead of regular blocks.

Do you have any actual programming experience, or did you just downloaded 2 cool irrelevent programs with source code and just want to "fuse" them together? There's no magical way to do that, and we can't give you any advice because,again, we have no idea what you're talking about. Otherwise, please post exactly what you want to do, what have you tried to accomplish it, and what is the problem.

Share this post


Link to post
Share on other sites
Do you understand what the Tetris code is doing? You'll have to modify the renderer to draw the texture the same way as the other piece of code you have draws it. If the graphics APIs don't match up, then you'll just have to adapt the theory.

If you don't understand the last sentence, you're out of your depth for doing this, and need to enumerate to us how much programming experience you really have so we can help.

Share this post


Link to post
Share on other sites
I'll just jump in and say that I think the OP wants to draw the Tetris blocks in the style of the code from the Matrix film trilogy. If that is in fact the case, more clarity certainly would have been helpful (starting with capitalization of the movie title!).

Anyway, if it hasn't already been done, 'Matrix-style' Tetris seems like a pretty cool idea. To implement it you'll need a glyph/character set, for starters. The rest depends, but if you have some experience with graphics APIs such as OpenGL or Direct3D, you should be able to look at the effect from the film and come up with an approximation using the appropriate fixed-function or shader effects.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
That is exactly what I am talking about. Sorry about the confusion, I have minimin experiance with graphic API's. I have a feeling that this may be a little over my head with this project. Maybe now with that we are all on the same page we can try and get me pointed in the right direction.

Share this post


Link to post
Share on other sites

This topic is 4163 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this