is there a wait command? im trying to work on a game but it goes too fast i would like it to wait 3-4 seconds before executing code
This is a discussion on wait command? within the Game Programming forums, part of the General Programming Boards category; is there a wait command? im trying to work on a game but it goes too fast i would like ...
is there a wait command? im trying to work on a game but it goes too fast i would like it to wait 3-4 seconds before executing code
Compiler: MSVC++ 6.0
There's the sleep functon...
include windows.h and call
Sleep(1000);
You pass the amount of miliseconds you want to pause the thread....so in the above I pause it for 1 second
thx gonna test it now
Compiler: MSVC++ 6.0