Hello!
I'm programming a game and I use keyboard input...
I have an object on the screen and when an arrow key is pressed the object is moving to that direction while the key is pressed...
When I press an arrow the object is moving to that direction the distance it should, than it delays, and than it moves correctly as it should...
I can't figure out why the delay accours...
I thought maybe it's the keyboard delay rate or repeate rate so I tried to change it but it didn't work!
Please help me!
I included the source so you can find the "symptoms"...
I use Borland Turbo C++ 3.0
Thank you for helping me!