00:00
00:00
Newgrounds Background Image Theme

Inkolypso just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

AS: Key Codes 2006-05-01 15:57:39


AS: Main RULEZ!

Key Codes are very useful. they allow you to perform actions on key presses that arent accsable through Key. eg. if(Key.isDown(Key.LEFT)){
To use them, replace both the key (on above example this is LEFT) AND the Key. so for left click, this would be:if(Key.isDown(1)){

Below is a list of many useful key codes, and some wich are almost completely useless ;P:
10/13 = enter
32 = space
33 = !
34 = "
35 = #
36 = $
37 = %
38 = &
39 = '
40 = (
41 = )
42 = *
43 = +
44 = ,
45 = -
46 = .
47 = /
48 = 0
49 = 1
50 = 2
51 = 3
52 = 4
53 = 5
54 = 6
55 = 7
56 = 8
57 = 9
58 = :
59 = ;
60 = <
61 = =
62 = >
63 = ?
64 = @
65 = A
66 = B
67 = C
68 = D
69 = E
70 = F
71 = G
72 = H
73 = I
74 = J
75 = K
76 = L
77 = M
78 = N
79 = O
80 = P
81 = Q
82 = R
83 = S
84 = T
85 = U
86 = V
87 = W
88 = X
89 = Y
90 = Z
91 = [
92 = \
93 = ]
94 = ^
95 = _
96 = `
97 = a
98 = b
99 = c
100 = d
101 = e
102 = f
103 = g
104 = h
105 = i
106 = j
107 = k
108 = l
109 = m
110 = n
111 = o
112 = p
113 = q
114 = r
115 = s
116 = t
117 = u
118 = v
119 = w
120 = x
121 = y
122 = z
123 = {
124 = |
125 = }
1 = left click
2 = right click

of course, there is a key code for every key on the keyboard, but i couldnt be bothered to figure them out ;P hope this helps


BBS Signature

Response to AS: Key Codes 2006-05-01 15:59:46



Sup, bitches :)

BBS Signature

Response to AS: Key Codes 2006-05-01 16:00:37


i didnt no about keyboard class, i just thort this wud be a good resource for key codes


BBS Signature

Response to AS: Key Codes 2006-05-01 16:09:39


mmm i got something better.... :P

http://nabadwa.brave..%20Code%20Finder.swf

simple code but hey... useful

Response to AS: Key Codes 2006-05-01 16:13:45


flash 8 btw....
just press anykey on the keyboard...

and if u run it in flash 8 (ctrl-enter) it can act as a key logger...

Response to AS: Key Codes 2006-05-01 16:14:23


Response to AS: Key Codes 2006-05-01 16:40:08


this is a better resource for key codes


BBS Signature

Response to AS: Key Codes 2006-05-03 13:56:07


At 5/1/06 04:40 PM, Hoeloe wrote: this is a better resource for key codes

No, this is.

Response to AS: Key Codes 2006-05-05 14:02:40


problems with that:
1. you cant copy paste the code
2. there is a difference between the upper and lower case letter codes, that only does the upper case, i have done both
3. it doesn't matter if that was better than my post, my post was still better than the other post, nuff said


BBS Signature