'keydown' problem
BlitzPlus Forums/BlitzPlus Beginners Area/'keydown' problem
| ||
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 ? |
| ||
can you post some code ? |
| ||
Are you using integers for your positioning by any chance? If so, you can't do increments less than 1. |
| ||
Yes, I am using integers, that explains that then! Thanks for help. |