blob: 76efddecc6219993d99e112d76075a1bbed3c530 (
plain)
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
[gd_scene load_steps=2 format=3 uid="uid://bs0r1xpkaxjr0"]
[ext_resource type="Script" path="res://UI/Menu/KeyBindings.gd" id="1"]
[node name="KeyBindings" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 64.0
offset_top = 64.0
offset_right = -64.0
offset_bottom = -88.0
script = ExtResource("1")
[node name="Panel" type="Panel" parent="."]
layout_mode = 0
offset_right = 896.0
offset_bottom = 448.0
[node name="VBoxContainer" type="VBoxContainer" parent="Panel"]
layout_mode = 0
offset_left = 256.0
offset_top = 24.0
offset_right = 640.0
offset_bottom = 424.0
[node name="DIRECTION_LEFT" type="HBoxContainer" parent="Panel/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Panel/VBoxContainer/DIRECTION_LEFT"]
layout_mode = 2
text = "Left"
[node name="Input" type="Button" parent="Panel/VBoxContainer/DIRECTION_LEFT"]
layout_mode = 2
[node name="Clear" type="Button" parent="Panel/VBoxContainer/DIRECTION_LEFT"]
layout_mode = 2
text = "Clear"
[node name="DIRECTION_RIGHT" type="HBoxContainer" parent="Panel/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Panel/VBoxContainer/DIRECTION_RIGHT"]
layout_mode = 2
text = "Right"
[node name="Input" type="Button" parent="Panel/VBoxContainer/DIRECTION_RIGHT"]
layout_mode = 2
[node name="Clear" type="Button" parent="Panel/VBoxContainer/DIRECTION_RIGHT"]
layout_mode = 2
text = "Clear"
[node name="JUMP" type="HBoxContainer" parent="Panel/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Panel/VBoxContainer/JUMP"]
layout_mode = 2
text = "Jump"
[node name="Input" type="Button" parent="Panel/VBoxContainer/JUMP"]
layout_mode = 2
[node name="Clear" type="Button" parent="Panel/VBoxContainer/JUMP"]
layout_mode = 2
text = "Clear"
[node name="RUN" type="HBoxContainer" parent="Panel/VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Panel/VBoxContainer/RUN"]
layout_mode = 2
text = "Run"
[node name="Input" type="Button" parent="Panel/VBoxContainer/RUN"]
layout_mode = 2
[node name="Clear" type="Button" parent="Panel/VBoxContainer/RUN"]
layout_mode = 2
text = "Clear"
[connection signal="pressed" from="Panel/VBoxContainer/DIRECTION_LEFT/Input" to="." method="_on_Input_pressed" binds= ["DIRECTION_LEFT"]]
[connection signal="pressed" from="Panel/VBoxContainer/DIRECTION_LEFT/Clear" to="." method="_on_Clear_pressed" binds= ["DIRECTION_LEFT"]]
[connection signal="pressed" from="Panel/VBoxContainer/DIRECTION_RIGHT/Input" to="." method="_on_Input_pressed" binds= ["DIRECTION_RIGHT"]]
[connection signal="pressed" from="Panel/VBoxContainer/DIRECTION_RIGHT/Clear" to="." method="_on_Clear_pressed" binds= ["DIRECTION_RIGHT"]]
[connection signal="pressed" from="Panel/VBoxContainer/JUMP/Input" to="." method="_on_Input_pressed" binds= ["JUMP"]]
[connection signal="pressed" from="Panel/VBoxContainer/JUMP/Clear" to="." method="_on_Clear_pressed" binds= ["JUMP"]]
[connection signal="pressed" from="Panel/VBoxContainer/RUN/Input" to="." method="_on_Input_pressed" binds= ["RUN"]]
[connection signal="pressed" from="Panel/VBoxContainer/RUN/Clear" to="." method="_on_Clear_pressed" binds= ["RUN"]]
|