'keydown' problem

BlitzPlus Forums/BlitzPlus Beginners Area/'keydown' problem

Mick Farrow(Posted 2007) [#1]
I'm having a problem with 'keydown'.
I have an object on screen moving around perfectly with joystick but, if I use keys the object does not respond at all, the object has inertia so sometimes moves in increments of .1 etc - the keyboard only works if object moves in increments of 1,2 etc. Can anybody help me ?


ford escort(Posted 2007) [#2]
can you post some code ?


xlsior(Posted 2007) [#3]
Are you using integers for your positioning by any chance?

If so, you can't do increments less than 1.


Mick Farrow(Posted 2007) [#4]
Yes, I am using integers, that explains that then!
Thanks for help.