Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Keyboard Buttons

Do anyone know all of the keyboard buttons.

for example, Input::C = A,Z,Shift Letter on Keyboard. Does anyone know all of it, like every single key on the keyboard? If so please post it.
 
If you right click the top bar of a game when running it and select game properties, and then select keyboard you can see a list and change something if you prefer something else more. Anyway:
Input = Key
A = Shift, Z,
B = Esc, Num 0, X,
C = space, enter, C
L = Q
R = W
Y = S
X = A

You can also set V and B to something if you so choose. I think I listed them all, but you can always check by doing what I said before.
 
Makio-Kuta;233936 said:
If you right click the top bar of a game when running it and select game properties, and then select keyboard you can see a list and change something if you prefer something else more. Anyway:
Input = Key
A = Shift, Z,
B = Esc, Num 0, X,
C = space, enter, C
L = Q
R = W
Y = S
X = A

You can also set V and B to something if you so choose. I think I listed them all, but you can always check by doing what I said before.


i already know this, im asking if there is more to it. The full keyboard.
 

ccoa

Member

Beware, though. People with some keyboard drivers will get a nasty bug if you're using that script (or the automatic fullscreen script) that will necessitate a restart of their computer. They won't like you for it, either.
 
i foudn the keyboard module but how do i use it, its like this...

Code:
module Keyboard
    #--------------------------------------------------------------------------
    @keys = []
    @pressed = []
    Mouse_Left = 1
    Mouse_Right = 2
    Back= 8
    Tab = 9
    Enter = 13
    Shift = 16
    Ctrl = 17
    Alt = 18
    Esc = 27
    Space = 32
    Numberkeys = {}
    Numberkeys[0] = 48
    Numberkeys[1] = 49
    Numberkeys[2] = 50
    Numberkeys[3] = 51
    Numberkeys[4] = 52
    Numberkeys[5] = 53
    Numberkeys[6] = 54
    Numberkeys[7] = 55
    Numberkeys[8] = 56
    Numberkeys[9] = 57
    Numberpad = {}
    Numberpad[0] = 45
    Numberpad[1] = 35
    Numberpad[2] = 40
    Numberpad[3] = 34
    Numberpad[4] = 37
    Numberpad[5] = 12
    Numberpad[6] = 39
    Numberpad[7] = 36
    Numberpad[8] = 38
    Numberpad[9] = 33
    Letters = {}
    Letters["A"] = 65
    Letters["B"] = 66
    Letters["C"] = 67
    Letters["D"] = 68
    Letters["E"] = 69
    Letters["F"] = 70
    Letters["G"] = 71
    Letters["H"] = 72
    Letters["I"] = 73
    Letters["J"] = 74
    Letters["K"] = 75
    Letters["L"] = 76
    Letters["M"] = 77
    Letters["N"] = 78
    Letters["O"] = 79
    Letters["P"] = 80
    Letters["Q"] = 81
    Letters["R"] = 82
    Letters["S"] = 83
    Letters["T"] = 84
    Letters["U"] = 85
    Letters["V"] = 86
    Letters["W"] = 87
    Letters["X"] = 88
    Letters["Y"] = 89
    Letters["Z"] = 90
    Fkeys = {}
    Fkeys[1] = 112
    Fkeys[2] = 113
    Fkeys[3] = 114
    Fkeys[4] = 115
    Fkeys[5] = 116
    Fkeys[6] = 117
    Fkeys[7] = 118
    Fkeys[8] = 119
    Fkeys[9] = 120
    Fkeys[10] = 121
    Fkeys[11] = 122
    Fkeys[12] = 123
    Collon = 186
    Equal = 187
    Comma = 188
    Underscore = 189
    Dot = 190
    Backslash = 191
    Lb = 219
    Rb = 221
    Quote = 222

Im guessing this is how to use it?, Input::123 = F12????
 
It's a bit like default input method. But for keyboard, Near's script uses:
Code:
if Keyboard.trigger?(key)
  #your code
end

if Keyboard.pressed?(key)
 #your code
end
instead of default:
Code:
if Input.trigger?(button)
  #your code
end

if Input.press?(button)
 #your code
end

**about Input.trigger & Input.press?, read RMXP help.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top