Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Multiple key use (I need to disable the first key effect)
I'm using Turbo c++ 3.0.
Im making my first game using graphics.h, its about a car in
the street (up view). each move of the screen means that
the program loops, another move and the program loops again.
Each loop have a cleardevice(), to refresh the screen.
The move is done when a key is hold, (loop,loop,loop,...)
When I press a key a hold it, the computer gets the first press, and
A SECOND LATER gets all the following presses (I think its done by the interrupt 9); How can I modify this???????
I tried with some ASM programs posted here in Programmersheaven, but the .h files dont compile OK, I think its because of my old compiler (c++ 3.0).
Is any way to do it without ASM?? or something like that??
THANKS A LOT!!!!
Juan (from Argentine)
0 · ·