Update input actions and UI layout
Added new input actions for movement and actions in project.godot. Adjusted UI element positions, visibility, and sizing in main.tscn. Added a temporary scene file and updated player.gd.
This commit is contained in:
+20
-14
@@ -55,7 +55,7 @@ current = true
|
||||
fov = 35.5
|
||||
|
||||
[node name="Camera3D200" type="Camera3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 7, 15, 7)
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 7, 15, 6.35926)
|
||||
environment = ExtResource("4_ky38j")
|
||||
projection = 1
|
||||
current = true
|
||||
@@ -66,10 +66,10 @@ size = 23.0
|
||||
anchors_preset = 4
|
||||
anchor_top = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = 47.0
|
||||
offset_top = -137.0
|
||||
offset_right = 183.0
|
||||
offset_bottom = -84.0
|
||||
offset_left = 1208.0
|
||||
offset_top = 280.0
|
||||
offset_right = 1344.0
|
||||
offset_bottom = 333.0
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = ExtResource("5_dvx6y")
|
||||
|
||||
@@ -92,14 +92,14 @@ vertical_alignment = 1
|
||||
|
||||
[node name="PlayerboardUI" type="GridContainer" parent="."]
|
||||
clip_contents = true
|
||||
anchors_preset = 2
|
||||
anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 40.0
|
||||
offset_top = -232.0
|
||||
offset_right = 236.0
|
||||
offset_bottom = -36.0
|
||||
grow_vertical = 0
|
||||
anchors_preset = 4
|
||||
anchor_top = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = 32.0
|
||||
offset_top = -104.0
|
||||
offset_right = 228.0
|
||||
offset_bottom = 92.0
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 3
|
||||
columns = 5
|
||||
|
||||
@@ -960,7 +960,7 @@ anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -160.0
|
||||
offset_left = -323.0
|
||||
offset_top = -384.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
@@ -971,22 +971,27 @@ offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="MoveButton" type="Button" parent="ActionMenu/ActionButtonContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
text = "Move"
|
||||
|
||||
[node name="GrabButton" type="Button" parent="ActionMenu/ActionButtonContainer"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
text = "Grab"
|
||||
|
||||
[node name="PutButton" type="Button" parent="ActionMenu/ActionButtonContainer"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
text = "Put"
|
||||
|
||||
[node name="RandomizeButton" type="Button" parent="ActionMenu/ActionButtonContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
text = "Randomize"
|
||||
|
||||
[node name="ArrangeButton" type="Button" parent="ActionMenu/ActionButtonContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
text = "Arrange"
|
||||
|
||||
@@ -1035,6 +1040,7 @@ theme_override_styles/normal = ExtResource("5_dvx6y")
|
||||
text = "Join"
|
||||
|
||||
[node name="MessageInput" type="LineEdit" parent="."]
|
||||
visible = false
|
||||
anchors_preset = 7
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
|
||||
Reference in New Issue
Block a user