-
Notifications
You must be signed in to change notification settings - Fork 13
/
default_actions.gd
70 lines (64 loc) · 969 Bytes
/
default_actions.gd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
const CHARACTER_CONTROLLER_FORWARD := {
"name": "move_forward",
"events": [
{
"physical_keycode": KEY_W,
}
]
}
const CHARACTER_CONTROLLER_BACKWARD := {
"name": "move_backward",
"events": [
{
"physical_keycode": KEY_S,
}
]
}
const CHARACTER_CONTROLLER_RIGHT := {
"name": "move_right",
"events": [
{
"physical_keycode": KEY_D,
}
]
}
const CHARACTER_CONTROLLER_LEFT := {
"name": "move_left",
"events": [
{
"physical_keycode": KEY_A,
}
]
}
const CHARACTER_CONTROLLER_SPRINT := {
"name": "move_sprint",
"events": [
{
"physical_keycode": KEY_SHIFT,
}
]
}
const CHARACTER_CONTROLLER_JUMP := {
"name": "move_jump",
"events": [
{
"physical_keycode": KEY_SPACE,
}
]
}
const CHARACTER_CONTROLLER_CROUCH := {
"name": "move_crouch",
"events": [
{
"physical_keycode": KEY_CTRL,
}
]
}
const CHARACTER_CONTROLLER_FLY_MODE := {
"name": "move_fly_mode",
"events": [
{
"physical_keycode": KEY_F,
}
]
}