while(!IsKeyDown(KEY_CTRL_EXIT)) { update(); draw(); Sleep(timeStep * 1000); }
Isn't IsKeyDown not supposed to block execution? And is there any other way to check for key input without blocking execution? Thx.
Posted 24 February 2014 - 04:07 PM
while(!IsKeyDown(KEY_CTRL_EXIT)) { update(); draw(); Sleep(timeStep * 1000); }
General →
Your Projects →
Bloxorz - 3D gameStarted by Viliami , 23 Aug 2016 bloxorz, game, 3d, engine, block and 2 more... |
|
|
||
Calculators →
Classpad →
** Plz Delete This Topic **Started by Ata.H.D , 25 Jul 2015 Input, dialogbox |
|
|
0 members, 2 guests, 0 anonymous users