Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Ace Of Spades
19
Years of Service
User Offline
Joined: 6th Mar 2005
Location: Across the ocean
Posted: 23rd Jul 2005 12:05
So I wanted to make a 3D tetris game, but I realized I have never made a game that operates anything like tetris. I am really clueless on where to even start. So far I have a basic board layed out and 3 of the pieces created. I have not action at all in it though. Not sure where to begin.

Here is an attached picture, nothing moves, nothing turns, etc.. its exactly as it look. If someone could help me out and at least give me some direction as where to start, I would be greatly appreciative. Thanks.


Also, here is the code I have thus far:


Louiz ofRohr
20
Years of Service
User Offline
Joined: 11th Nov 2004
Location:
Posted: 23rd Jul 2005 16:55 Edited at: 23rd Jul 2005 16:56
I'm going to bed now.. =|
But I can show you the basic theory now:
you have some piece composed by some blocks..
This group receives a name.. And blocks are temporaly associated to that..
All relative positions are saved for group rotation..
If any of the blocks associated to this group hits any other block, then you execute a routine to check other blocks' of the group falling or just stop this group..
The new group is gonna overwrite the last's variables..

You have all the possible positions for blocks in arrays..
So each positions is initially 0.. When there is a block in that position this array's piece is now 1..
If all the positions of a line (one array in example) are set to 1,
then make something with blocks allocated in those sequential positions (hide/explode)..


It is basically this..

The worst foe lies within the self...
Louiz ofRohr
20
Years of Service
User Offline
Joined: 11th Nov 2004
Location:
Posted: 23rd Jul 2005 16:58 Edited at: 23rd Jul 2005 16:58
oh!! The screenShot is really cool.. Much clear
Waiting to see this one in the WIP soon

The worst foe lies within the self...
Ace Of Spades
19
Years of Service
User Offline
Joined: 6th Mar 2005
Location: Across the ocean
Posted: 3rd Aug 2005 18:56
thanks for giving me some idea as to what needs to be done

Login to post a reply

Server time is: 2024-11-27 20:27:53
Your offset time is: 2024-11-27 20:27:53