Getting input without stopping program

closed account (GbX36Up4)
Can I get input without stopping the program I was thinking getch would work, but i dont have much experiance with it though. Here is how I plan to use it.

we wait 1 second
we increase frame by +1
player clicks up
we use our function to make him move on the next frame
we wait another second
we increase frame by +1
the character moves

how the function works:
basiclly he is qued to move on the next frame
so when the frame is beign +1'd it tests to see
if it is the move frame
(move frame is the frame that the player clicked
up on but +1)
if it is on the move frame he moves

Thanks.
Is this running in the console?
closed account (GbX36Up4)
Yes.
Topic archived. No new replies allowed.