I have written a very nice piece of software down here, using Blitz3D.
Now, I have just purchased BlitzPlus and have recompiled it (I did not use any 3D - just plain 2D stuff).
The recompiled (with BlitzPlus) version rubs much smoother.
It is ALMOST perfect.
But the keyboard logic has gone to space...
I had to write some chunk of code to deal with auto-repeat, del, tab, backspace, arrow keys, and the like.
And now none of it works.
Well, some of it works, but with side effects.
Let me just check if I am right...
B3D did not catch CONTROL+Key combinations (or ALT+Key for that matter) with the GetKey() function.
So, one would have to work around it by using KeyDown() and KeyHit() functions.
That´s fine with me. It was not very difficult and worked perfectly well.
Please, understand that I am not trying to explain it here, I am just trying to make sure that I understand what is going on, myself...
Now that I have recompiled it, I have to throw away the specialized code I have written, because getKey() now is capable of (and does) handling any key combination, by using 64 bits for the "virtual key" code (or something like that).
So, I can simply use GetKey() and check if it is the ALT+Z "virtual key", instead of having to check if the ALT key is being held down when GetKey() returns the ASCII code for "Z".
Is that it?
If so, where can I find more info about it --- if there is anything else I should be aware of, concerning keyboard input, that is...
I would appreciate any help on this.
Thank you,
/R
Now, I have just purchased BlitzPlus and have recompiled it (I did not use any 3D - just plain 2D stuff).
The recompiled (with BlitzPlus) version rubs much smoother.
It is ALMOST perfect.
But the keyboard logic has gone to space...
I had to write some chunk of code to deal with auto-repeat, del, tab, backspace, arrow keys, and the like.
And now none of it works.
Well, some of it works, but with side effects.
Let me just check if I am right...
B3D did not catch CONTROL+Key combinations (or ALT+Key for that matter) with the GetKey() function.
So, one would have to work around it by using KeyDown() and KeyHit() functions.
That´s fine with me. It was not very difficult and worked perfectly well.
Please, understand that I am not trying to explain it here, I am just trying to make sure that I understand what is going on, myself...
Now that I have recompiled it, I have to throw away the specialized code I have written, because getKey() now is capable of (and does) handling any key combination, by using 64 bits for the "virtual key" code (or something like that).
So, I can simply use GetKey() and check if it is the ALT+Z "virtual key", instead of having to check if the ALT key is being held down when GetKey() returns the ASCII code for "Z".
Is that it?
If so, where can I find more info about it --- if there is anything else I should be aware of, concerning keyboard input, that is...
I would appreciate any help on this.
Thank you,
/R