keyhit() is not 100%

Blitz3D Forums/Blitz3D Beginners Area/keyhit() is not 100%

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Is this method of programming incorrect?


Yup. Call the keyhit function once and it resets the current keyhit value for the key you are checking against.

To do your example above you could use a selectr case statement or more if's

[code]
if keyhit(28_