summaryrefslogtreecommitdiff
path: root/UI/Menu/KeyBindings.tscn
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-06-18 16:43:22 +0200
committerDaniel Weipert <code@drogueronin.de>2023-06-18 16:43:22 +0200
commit395c25b1fbe51f42decf402f97e51eabcc8c0a77 (patch)
tree72a17c71a39b53d328a76e111ae205d9538d64d0 /UI/Menu/KeyBindings.tscn
parent2686ec6d4af6b5437a5f5a5cac008f3d38295f78 (diff)
Godot v3 -> v4
Diffstat (limited to 'UI/Menu/KeyBindings.tscn')
-rw-r--r--UI/Menu/KeyBindings.tscn116
1 files changed, 42 insertions, 74 deletions
diff --git a/UI/Menu/KeyBindings.tscn b/UI/Menu/KeyBindings.tscn
index 948b44b..76efdde 100644
--- a/UI/Menu/KeyBindings.tscn
+++ b/UI/Menu/KeyBindings.tscn
@@ -1,123 +1,91 @@
-[gd_scene load_steps=2 format=2]
+[gd_scene load_steps=2 format=3 uid="uid://bs0r1xpkaxjr0"]
-[ext_resource path="res://UI/Menu/KeyBindings.gd" type="Script" id=1]
+[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
-margin_left = 64.0
-margin_top = 64.0
-margin_right = -64.0
-margin_bottom = -88.0
-script = ExtResource( 1 )
-__meta__ = {
-"_edit_use_anchors_": false
-}
+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="."]
-margin_right = 896.0
-margin_bottom = 448.0
+layout_mode = 0
+offset_right = 896.0
+offset_bottom = 448.0
[node name="VBoxContainer" type="VBoxContainer" parent="Panel"]
-margin_left = 256.0
-margin_top = 24.0
-margin_right = 640.0
-margin_bottom = 424.0
-__meta__ = {
-"_edit_use_anchors_": false
-}
+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"]
-margin_right = 384.0
-margin_bottom = 20.0
+layout_mode = 2
[node name="Label" type="Label" parent="Panel/VBoxContainer/DIRECTION_LEFT"]
-margin_top = 3.0
-margin_right = 24.0
-margin_bottom = 17.0
+layout_mode = 2
text = "Left"
[node name="Input" type="Button" parent="Panel/VBoxContainer/DIRECTION_LEFT"]
-margin_left = 28.0
-margin_right = 40.0
-margin_bottom = 20.0
+layout_mode = 2
[node name="Clear" type="Button" parent="Panel/VBoxContainer/DIRECTION_LEFT"]
-margin_left = 44.0
-margin_right = 88.0
-margin_bottom = 20.0
+layout_mode = 2
text = "Clear"
[node name="DIRECTION_RIGHT" type="HBoxContainer" parent="Panel/VBoxContainer"]
-margin_top = 24.0
-margin_right = 384.0
-margin_bottom = 44.0
+layout_mode = 2
[node name="Label" type="Label" parent="Panel/VBoxContainer/DIRECTION_RIGHT"]
-margin_top = 3.0
-margin_right = 32.0
-margin_bottom = 17.0
+layout_mode = 2
text = "Right"
[node name="Input" type="Button" parent="Panel/VBoxContainer/DIRECTION_RIGHT"]
-margin_left = 36.0
-margin_right = 48.0
-margin_bottom = 20.0
+layout_mode = 2
[node name="Clear" type="Button" parent="Panel/VBoxContainer/DIRECTION_RIGHT"]
-margin_left = 52.0
-margin_right = 96.0
-margin_bottom = 20.0
+layout_mode = 2
text = "Clear"
[node name="JUMP" type="HBoxContainer" parent="Panel/VBoxContainer"]
-margin_top = 48.0
-margin_right = 384.0
-margin_bottom = 68.0
+layout_mode = 2
[node name="Label" type="Label" parent="Panel/VBoxContainer/JUMP"]
-margin_top = 3.0
-margin_right = 32.0
-margin_bottom = 17.0
+layout_mode = 2
text = "Jump"
[node name="Input" type="Button" parent="Panel/VBoxContainer/JUMP"]
-margin_left = 36.0
-margin_right = 48.0
-margin_bottom = 20.0
+layout_mode = 2
[node name="Clear" type="Button" parent="Panel/VBoxContainer/JUMP"]
-margin_left = 52.0
-margin_right = 96.0
-margin_bottom = 20.0
+layout_mode = 2
text = "Clear"
[node name="RUN" type="HBoxContainer" parent="Panel/VBoxContainer"]
-margin_top = 72.0
-margin_right = 384.0
-margin_bottom = 92.0
+layout_mode = 2
[node name="Label" type="Label" parent="Panel/VBoxContainer/RUN"]
-margin_top = 3.0
-margin_right = 24.0
-margin_bottom = 17.0
+layout_mode = 2
text = "Run"
[node name="Input" type="Button" parent="Panel/VBoxContainer/RUN"]
-margin_left = 28.0
-margin_right = 40.0
-margin_bottom = 20.0
+layout_mode = 2
[node name="Clear" type="Button" parent="Panel/VBoxContainer/RUN"]
-margin_left = 44.0
-margin_right = 88.0
-margin_bottom = 20.0
+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" ]]
+
+[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"]]