I’m writing a simple RPG battle engine for a class project and I have a quick question regarding keyboard input.
What I’d like to do is have the program wait and do absolutely nothing and only recognize keyboard inputs to the GL window. Here’s some pseudocode
while( Player 1 has not selected a character )
//Wait for keyboard input to the GL window
while( Player 2 has not selected a character )
//Wait for input
And so on. How do I implement this? Thank you.