Hehe, guess I didn't use TB for a long time. Found the answer. I have to use
TBGL_GetWindowKeyOnce for that.
Hi,
running some old scripts, I noticed that TBGL_GetAsyncKeyState behaves like an KeyPressed function. It returns TRUE continiously as long as the key is pressed.
Is there anything like a KeyHit functionality, that only returns TRUE once, till it is released and pressed again?
Hehe, guess I didn't use TB for a long time. Found the answer. I have to use
TBGL_GetWindowKeyOnce for that.
Haha,
right you are Mike, that is the one to pick
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Bookmarks