Hello guys,
I am stuck and need help. In my game I am creating a debug mode so I can enter commands to manipulate variables and whatnot. Anyway I am coming out at a loss.
What I have is a transparent console that slides in when I hit control and displays its text using the following code:
sprintf(buffer, "user@game $ ");
dbSetTextTransparent();
dbText (console_x, console_y, buffer);
Now I want to read what is typed in real time, and display it in real time. Same as windows cmd.exe works or terminal in linux. Whats the best way to do this? I have tried many ideas but they didn't work... Thanks in advance!