you know what would be funny?
if instead of actually playing it, we have to program an AI that plays the chess game for us, and see who can come up with the winning AI. :]
Type: Posts; User: bluehead
you know what would be funny?
if instead of actually playing it, we have to program an AI that plays the chess game for us, and see who can come up with the winning AI. :]
What, is wait(); a windows.h function as well?
well you know what would be an easier solution... getting a new compiler?
hey cool-august, what compiler are you using?
oh crap
darn, and i was feeling pretty smart for a sec
theres a wait(); function im pretty sure, i think in either devcpp or borland's <conio>. but i haven't used that in a long time
ok. you guy's make everything complicated.
the easiest way is this. (if you want it PAUSED for 3 seconds)
//headers
#include <windows.h>
//code
do what i do
get one step further than what you are. no matter how good you are, there is always a 'better'
set a goal. idk what kind of programming you studied, but as for me.. i'm begining...
what i think is, you need a more detailed explanation of wtf im supposed to do. :)
yeah i dont think C++ has the ^ (maybe with math.h, but idk)
it's not going to be as simple as you'd hope, but heres how you can do it:
int iIncrement = 0; //increment used for the while...
most compilers will indent it for you..
if yours doesnt.. then get a new compiler, indentation is what makes the world go round
k, this is more as in i'm curious in how its done, and i'm ready for the bad feedback you are all gonna flame towards me :].. but maybe i'll get an answer
well yea, I was wondering how the hacks...
heh
the great thing is. I've been programming since 6th grade. But i was too stupid to understand the concepts of any of the newer, more advanced things (like opengl/window programming) so i never...
hey, how do you actually use dll's, and what kind of information do they actually hold (classes, functions, etc)
You guys make it sound like i'm doing it in some alienated way
is there an actual way to move the CAMERA, instead of the whole world?
Well, this "Camera" had to be made by moving the whole entire level opposite from the user's input
and, when i just put in a light, it stays there. so the 'level' is moving around hte light
To Jverkoey: ha. i dont :(
now, back on topic..
i know i did it completely wrong, i took a really random guess...
glTranslatef(-xmov,ymov,zmov);
k, how do you get the light to move with the level? simple question, im sure you know what im talking about
Yeah.. How can I improve the viewing distance?
It's so bad so right now that i can't see the other side of the room.. even look at the attachment
the attachment is a pic of the player standing...
what's a CASE that i can use to detect mouse movement in the wndproc procedure?
*edit* nevermind i figured out how to do it
k, and how do i make my window non-resizable?
how can you read how much the mouse moves on the x and y axis?
and then, how do you position the mouse back to the center?
(for fps specifically)
just #include <glext.h> instead of glaux
Well, the way I restricted the fps is to put a Sleep(2); function at the end, so no matter how fast it goes, it still waits 2 milliseconds before it loops again... probably not the best way to go...
Oh, well, if your doing more complex patterns.. like, lets say f(x) = 2x^2 + 1... wow i dont think there is a way to code that.
That's what pencil and paper are for.
alright im just gonna take a wild guess at this, can't be too hard
you can kind of do something like this (note: my "style" of coding is really.... unclean, so you just have to bear with me)
...
k time for my new project:
im going to make a huge plane with grass texture, a small runway, and hell, why not, a small building/tower.
and im going to make it seem like a first person airplane...
Hey, dif question
how do you set how much fps you want?
well what i mean is, on my comp, i get 999 fps. on a friend's, he gets lower..
so when i move the box on my comp, it goes nice and...