I everybody!
I've got a problem about keyboard's INKEY simpling rate.
I'm on old video games projects; Mr.Do and PacMan likes.
My problem stand while I try to make a change in the character direction. Even if I keep a key down(arrow-up for exemple) my character wont turn every time I tell him.
The only way to make him execute command on every time is to interrupt the program execution each time the instruction pointer pass on the INKEY$ statement(slowing the video refreshing rate to a critical point - to not say unacceptable)
I've tried the ON KEY() statement but get a similar interruption rate.
I think that question's a particuliary point of interest for Qbasic game programming which the keyboard's a important input device.
Can you help?
Thanks
Oak
I've got a problem about keyboard's INKEY simpling rate.
I'm on old video games projects; Mr.Do and PacMan likes.
My problem stand while I try to make a change in the character direction. Even if I keep a key down(arrow-up for exemple) my character wont turn every time I tell him.
The only way to make him execute command on every time is to interrupt the program execution each time the instruction pointer pass on the INKEY$ statement(slowing the video refreshing rate to a critical point - to not say unacceptable)
I've tried the ON KEY() statement but get a similar interruption rate.
I think that question's a particuliary point of interest for Qbasic game programming which the keyboard's a important input device.
Can you help?
Thanks
Oak