But you'd have tot break into micrsoft headquaters. They dont let those machines be hooked to the net.
Type: Posts; User: Vulcan
But you'd have tot break into micrsoft headquaters. They dont let those machines be hooked to the net.
Why would you have nested loops 4 deep?
you could just do this
int done = 0;
for (int a = 0; a < 100, done < 1; a++)
{
for (int b = 0; b < 100, done < 1; b++)
{
for (int c = 0; c < 100,...
yeah, its asm. If you really want to be more technical
addr | instr l/r mode index left right
0000 100011 1 101 00 01 00
instr 6-bits the instruction to...
x = 4
y = 2
really, thats trivial
Thats not true. Goto is for lazy programmers who don't program the right way the first time. There is no case when goto should be used. EVER
-Vulcan
Because some guy proved that all code that "thought" they needed goto could actually be written without them. It was his college thesis, and they more than accepted it.
After all, the while loop...
Only one big problem...
Global Variables... ack...
Why not use global variables? Simple. Global variables remain on the stack for the entire duration of the program. Incredibly inefficient....
What is the most accurate, best get time function? I used to use GetTickCount(), but it is incredibly inaccurate, and timeGetTime() is just as bad. Any suggestions?
-Vulcan
Sometimes its better to check whether your objects
do not collide,
whether than if they do, i.e
if (object1.x + object1.sizex < object2.x)
// 1 check, they dont collide
// only one...
http://www.lostsidedead.com
LostSideDead
Open source, Open mind
check it out and tell me what you think
Cool, I got a 10k scholarship for coding up a computer game :-)
http://www.davidsoninstitute.org
unfortunately this only pays 1/5 of my tuition at DigiPen, but hey, I'll take what I can get :-)...
And you do have to remember that unless you specify otherwise, the coordinatized plane of a computer monitor is different from your normal e1-e2 axis'
-Vulcan
Thats not entirely true. I have used inline _asm to call interrupt 13h on the video card (got me into modeX), but why you would do that anymore is far beyond me.
Whats easier to use? Hell, I...
What your refering to is the tertiary operator (compact if statement)
if (a < b)
{
return true;
}
else
return false;
is the equivelent of
Use DirectX. No question. It is simplistic, has tons of features, and includes a whole lot more than just graphics. OpenGL is ok, but its not as good as it used to be, and, like I said before, is...
It was about a year into coding C++ that I made my first game. (Its on this site - Snaker). After then I've been involved in projects ever since.
-Vulcan
Thats how i did do it before, map a 3D array to a 1D space via the same way you showed. but what i wanted to do so if you had a 3D space
[x][y][z]
you could acess the array as such...
Using new & delete, how to I dynamically allocate & deallocate a 3-dimensional array?
-Vulcan
"Tricks of the windows game programming gurus" by André Lamothe is great!
but it only covers Dx6.1, and DX9 is almost Beta....
While MSVC++ by far has the best IDE of any compiler, there are quite a few better compilers out there, such as the GNU, or the Intel compiler.
And why would you want to do that?
"The ghosts aren't really that intelligent... I'm pretty sure that it could be coded so that 2 or 3 ghosts would be enough to stop the player every time... of course, that wouldn't be fun... "
Not...