I'm making Tetris, I need a 3d array to represent each block and it's rotations. I realize I could of just calculated the rotation myself using just a 2d array also, but I decided to go this way.
Type: Posts; User: funkydude9
I'm making Tetris, I need a 3d array to represent each block and it's rotations. I realize I could of just calculated the rotation myself using just a 2d array also, but I decided to go this way.
What's the syntax? For example, a 2d array:
int[][] array = {
{2, 5} , {7, 4},
};
I'm looking for a similar approach with a 3D array but can't seem to find it anywhere.
It's most fun watching yourself explode when you press enter a dozen times. :) Good job on those particles.
If you minimize & open it back up, it won't re-paint.
Eh...Don't remind me. :p
Runs fine on my machine.
Why? :(
example an_example[3];
an_example[0].x = 8; //1st variable
an_example[1].x = 32; //2nd variable
an_example[2].x = 5; //3rd variable
Don't post the same thing in two forums. :rolleyes:
lol, here and here, and here.
Although I think this one of the grid-model is the coolest if you want my opinon. ;)
What we really need is something that automatically indents. ;)
The paddle is very glitchy on the right side, but I don't notice it as much on the left. Also, sometimes when you lose a life the way the ball starts over makes you lose another life (ie you lose two...
Another thing you could do to enhance the gameplay is to make the paddle "slide" and/or "bounce" off the edge. You can make it either as a powerup or just all the time. I think little things like...
The game is really boring, the graphics are too dull and you either need to decrease the speed of the paddle or increase the speed of the ball because it's pretty easy (don't give out so many 1-ups)....
Just added one,
Deus Ex 2
Here's my list:
Half-Life 2
DOOM III
Halo
Far Cry
Joint Operations
RS3: Athena Sword
All of these games are going to need a pretty fast rig. Please add to the list. :)
Or you could get a Radeon 9800 Pro...
I did...
ABSOLUTLY NOTHING!!!
Just sit on my a$$ all day...what about you?
Well when your passing it as a pointer, your passing the address, correct? But when your passing it as refrence, what exactly are you passing?
#include <windows.h>
for (...)
{
Sleep(100); // 100 miliseconds
...
}
Absolutely!
Thank you FillYourBrain, at least some people don't hate IE.
Why is it that everytime I talk about a problem an agrue always comes up about IE vs X browser. I think it's a curse.
...
Do you guys notice that when you move the wheel up in IE the page sometimes goes down instead, but not vica versa? It's starting to get anoying...
Isn't that just a fancy term for function overloading? And what does that have to do with pointers? Anyway, what about:
3) Efficiency
And RealityFusion, go pick yourself up a better book.
Link removed by mod
Donnie Darko
:D