hi there,
im making a small game which uses to getch() for key press
the code is as follows
the problem is when the code reaches getch() the program doesnt move onrward until u actually press something.Code:if(getch() == KEY_DOWN) { move object down } if(getch() == KEY_UP) { move object up }
is there a similar function that gets ur key press but doesn't cause the program to loop on the function until a key is pressed?
ty.



LinkBack URL
About LinkBacks


