Game Engine
Learning
References
Licenses
Forum
News & Stories
Downloads
Login
EN ▾
Deutsch
English
Français
Español
Italiano
Čeština
×
Game Engine
Learning
References
Licenses
Forum
News & Stories
Downloads
Login / Registrieren
DE
EN
FR
ES
IT
CZ
Not possible to use key when cursor is hidden?
1
#1, by
petertermanhansen
Sunday, 24. February 2019, 22:49
7 years ago
Hi
I have a puzzle where i want the player to use a key-stroke in stead of the mouse.
I hide the cursor and have written appropiate action for the key-stroke.
But it seems that key-strokes are disabled when cursor is hidden.
Is that so?
Regards Peter
#2, by
afrlme
Sunday, 24. February 2019, 23:17
7 years ago
Yes, but you can use the Lua key event handler - probably, or you could just set the mouse cursor as a transparent one & disable interaction by overlaying an interface that's the same size as the default game resolution.
How to disable interaction without hiding the cursor
#3, by
petertermanhansen
Monday, 25. February 2019, 10:10
7 years ago
thanks AFRLme
1