I have seen games before that while playing, you can type in a word, and it will then do something depending on that word. I was wondering if someone could show me how that is done.
Thanks in advance, August
I have seen games before that while playing, you can type in a word, and it will then do something depending on that word. I was wondering if someone could show me how that is done.
Thanks in advance, August
Last edited by Queatrix; 04-20-2005 at 07:34 AM.
You'll basically be checking for KEY_DOWN messages, building a string from those particular virtual keys, and then comparing the resulting string that you get in the keyboard buffer with the strings that you want to responde to, via strcmp(); or similar.
OS: Windows XP Pro CE
IDE: VS .NET 2002
Preferred Language: C++.