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 think I understand what u mean.
I remember the old days when I was doing a simple "snake" game in pascal.
Back then I was able to do something likerepeat
…
repeat
.......move snake in one direction.....
until keypressed();
..... process input key and change dirrection....
until forever
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.