Skip to content

Commit 68e095c

Browse files
authored
Merge pull request #578 from nekomatata/physics-tests-key-bindings
Changed key bindings in physics tests 2D/3D
2 parents da9e24d + fe54ebb commit 68e095c

File tree

4 files changed

+36
-4
lines changed

4 files changed

+36
-4
lines changed

2d/physics_tests/main.tscn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ margin_left = 157.0
4141
margin_top = 13.0
4242
margin_right = 646.0
4343
margin_bottom = 27.0
44-
text = "P - TOGGLE PAUSE / R - RESTART / D - TOGGLE COLLISION / F - TOGGLE FULL SCREEN / ESC - QUIT"
44+
text = "P - TOGGLE PAUSE / R - RESTART / C - TOGGLE COLLISION / F - TOGGLE FULL SCREEN / ESC - QUIT"
4545
__meta__ = {
4646
"_edit_use_anchors_": false
4747
}

2d/physics_tests/project.godot

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,22 @@ window/stretch/aspect="expand"
4747

4848
[input]
4949

50+
ui_left={
51+
"deadzone": 0.5,
52+
"events": [ ]
53+
}
54+
ui_right={
55+
"deadzone": 0.5,
56+
"events": [ ]
57+
}
58+
ui_up={
59+
"deadzone": 0.5,
60+
"events": [ ]
61+
}
62+
ui_down={
63+
"deadzone": 0.5,
64+
"events": [ ]
65+
}
5066
toggle_full_screen={
5167
"deadzone": 0.5,
5268
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":70,"unicode":0,"echo":false,"script":null)
@@ -59,7 +75,7 @@ exit={
5975
}
6076
toggle_debug_collision={
6177
"deadzone": 0.5,
62-
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"unicode":0,"echo":false,"script":null)
78+
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":67,"unicode":0,"echo":false,"script":null)
6379
]
6480
}
6581
restart_test={

3d/physics_tests/main.tscn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ margin_left = 157.0
4141
margin_top = 13.0
4242
margin_right = 375.0
4343
margin_bottom = 27.0
44-
text = "P - TOGGLE PAUSE / R - RESTART / D - TOGGLE COLLISION / F - TOGGLE FULL SCREEN / ESC - QUIT"
44+
text = "P - TOGGLE PAUSE / R - RESTART / C - TOGGLE COLLISION / F - TOGGLE FULL SCREEN / ESC - QUIT"
4545
__meta__ = {
4646
"_edit_use_anchors_": false
4747
}

3d/physics_tests/project.godot

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,22 @@ window/stretch/aspect="expand"
4747

4848
[input]
4949

50+
ui_left={
51+
"deadzone": 0.5,
52+
"events": [ ]
53+
}
54+
ui_right={
55+
"deadzone": 0.5,
56+
"events": [ ]
57+
}
58+
ui_up={
59+
"deadzone": 0.5,
60+
"events": [ ]
61+
}
62+
ui_down={
63+
"deadzone": 0.5,
64+
"events": [ ]
65+
}
5066
toggle_full_screen={
5167
"deadzone": 0.5,
5268
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":70,"unicode":0,"echo":false,"script":null)
@@ -59,7 +75,7 @@ exit={
5975
}
6076
toggle_debug_collision={
6177
"deadzone": 0.5,
62-
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"unicode":0,"echo":false,"script":null)
78+
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":67,"unicode":0,"echo":false,"script":null)
6379
]
6480
}
6581
restart_test={

0 commit comments

Comments
 (0)