hi, im creating a simple game here...its a shooting game...so how can I make my program read the keyboard to control the player's movement around?tnx in advance
c++ prog
0
Light Poster
Recommended Answers
Jump to PostI do not recall the arrow keys having a virtual key code associated with them from standard C++.
I think the only way to do it is through the OS interpretation of the virtual key code of the keyboard, though I could be wrong...
All 3 Replies
Alex Edwards
321
Posting Shark
kux
55
Junior Poster
Duoas
1,025
Postaholic
Featured Poster
Alex Edwards
commented:
I knew it - thanks for the thorough explanation =)
+4
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.