Keychar for the spacebar?
Does anyone know?
its for a jump script. i cant use PHP Code:
|
PHP Code:
|
Whenever I can't figure out a Keypressed I usually use the following script:
PHP Code:
Edit: Looks like Switch already posted that. |
Spacebar is 32 if I recall right.
|
Alright cool i got it working now. Thanks guys!
|
keycode==VK_SPACE
|
Quote:
|
Quote:
|
News to me three, seems to work with most other keys as well, i've tried a few so far.
|
You guys didn't know? Wow. That was released ages ago. x]
|
Quote:
|
Quote:
Quote:
It is very hard to program competently when not everything is even documented. |
Looks like it resembles the constants in a lot of libraries with input support like SDL, so I guess it won't be too hard to figure out :o
I really don't see anywhere where it's mentioned, though. |
What does VK stand for? Virtual Key?
|
Quote:
|
All times are GMT +2. The time now is 04:22 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.