runtimeScene.getGame().getInputManager().isKeyPressed(LEFTKEY)) checks if the Left key is pressed. But what other functions are available from the getInputManager? Where can I go to learn everything I can do with it? What are the constants for every key? Is TILDEKEY how I check if the Tilde key is down?
Maybe I’m looking at it wrong but the documentation doesn’t seem to be complete. There’s lots of 404s
This includes all of the inputs for all of the GDJS api calls in the engine, including input manager and the such.
Hope this helps
Hi thank you very much for that link, it’s close to what I was looking for.
But I still wasn’t able to find a list of keycodes. (I thought this page would enumerate them https://docs.gdevelop-app.com/GDJS%20Runtime%20Documentation/GDJS_Runtime_inputmanager.ts.html ) but it doesn’t.
If I’m right, you can check any JS keycode here: https://keycode.info
Edit: I believe I found the old link you are referencing on the Wiki page, I’ve updated it, but if you find any more feel free to let me know.